-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update chronicle-agent examples, update CI #446
Conversation
615e07a
to
3269fe4
Compare
7a55b6a
to
1aace3a
Compare
priorityClassName: something-fun | ||
nodeSelector: | ||
something: special |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see https://github.com/rstudio/helm/blob/main/charts/rstudio-connect/values.yaml#L57-L58, helm template was complaining that pod.nodeSelector
had been rendered invalid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have some notes in connect 0.4.0
about this if you take a look at https://github.com/rstudio/helm/blob/main/charts/rstudio-connect/NEWS.md#040
nodeSelector: | ||
something: special |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand the purpose of this. Typically, a nodeSelector is used to force (or at least encourage) a pod to be scheduled on specific worker nodes. Does https://github.com/rstudio/helm/blob/main/charts/rstudio-connect/values.yaml#L57-L58 mean that we are required to put something here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well this ci files was definitely out of date and referencing pod.nodeSelector
instead of NodeSelector
which was incorrect, so this change was needed.
Does https://github.com/rstudio/helm/blob/main/charts/rstudio-connect/values.yaml#L57-L58 mean that we are required to put something here?
If you take a look at https://github.com/rstudio/helm/blob/main/charts/rstudio-connect/templates/deployment.yaml#L43-L46 you'll see where this is referenced. nodeSelector
will be an empty {}
list by default, and thus won't even unwrap that template block:
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
So you aren't required to set a nodeSelector
value, it's okay to leave this field blank and not invoke this code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is admittedly a little bit of scope creep because it's just a connect ci fix, unrelated to chronicle. Still I think it's good to get our ci/cd pipelines working a bit better here.
@shahmonanshi @tnederlof @colearendt I'm not who sure who the go to for the approval on this PR will be, but I was hoping some of you could take a look and give the okay on these changes. Thank you in advance! |
I was thinking we don't need to bump up the chart versions if we're not including any changes to our actual templates in this branch. |
@AlexMapley sorry, I don't know much with regards to the CI, @colearendt will likely know more there. |
No worries @tnederlof, ty for taking a look anyways. With #457 we can probably close this branch too soon |
Background
Closes #445
Summary
complex-values.yaml
test files with the chronicle-agent and a busybox sidecar, which will run in our cighcr.io/rstudio/chronicle-agent:2023.10.4
, the last agent releaseNotes
We are currently failing 1 ci job: https://github.com/rstudio/helm/actions/runs/7132419728/job/19422921712, complaining that we haven't bumped up the chart version in this PR.
We haven't changed the contents of these charts though, just the docs and ci. Bumping up the chart version is unwarranted, so I'm going to ignore this complaint.
This is coming from https://github.com/rstudio/helm/blob/main/.github/workflows/chart-test.yaml#L33, and I don't think
ct list-changes
is flexible enough to ignore.md
or.ci
file changes:hence why i'd rather just ignore this for now - I don't have a good fix in mind.