-
Notifications
You must be signed in to change notification settings - Fork 683
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
Use the same pod annotation formatting in syncresources cronjob #2439
Use the same pod annotation formatting in syncresources cronjob #2439
Conversation
The pod annotation formatting for flyteadmin was different to the one from the formatting in the syncresources cronjob. This leads to once interpolating templates whilst the other will not. Signed-off-by: Bernhard Stadlbauer <[email protected]>
Signed-off-by: Bernhard Stadlbauer <[email protected]>
annotations: | ||
{{- with .Values.flyteadmin.podAnnotations }} | ||
{{- toYaml . | nindent 12 }} | ||
{{- end }} | ||
spec: |
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.
small change, Add annotations if they are passed or else don't specify them in generated template.
metadata:
{{- with .Values.flyteadmin.podAnnotations }}
annotations:
{{- toYaml . | nindent 12 }}
{{- end }}
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've updated this 👍
Signed-off-by: Bernhard Stadlbauer <[email protected]>
@evalsocket Thanks again for the quick review! I've updated the chart according to your review and have re-run |
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.
Awesome
Congrats on merging your first pull request! 🎉 |
@evalsocket - Would it be possible to release these changes? I've checked the |
@bstadlbauer We only release chart with flyte release(In flyte App version is same as chart version). @EngHabu @eapolinario Is it ok to create a beta release ? |
Yes please go ahead! |
|
Hey @evalsocket, would love to see the beta release ~ |
@agates4 yes |
@evalsocket Is there an ETA for the beta release? |
@bstadlbauer We created a beta release https://github.com/flyteorg/flyte/releases/tag/v1.0.2-b1, Please check and let us know if anything missing |
@evalsocket Thank you for the release! We did run into an issue when adding podAnnotations to syncresources, I've opened up a PR here: #2542 |
The pod annotations for
flyteadmin
andclusterresourcesync
are inconsistent in theflyte-core
helm chart.Flyteadmin:
Clusterresourcesync:
Note that one will try to complete the template, whereas the other will not.
So with annotations defined as:
The outcome would be different on the two pods.
This PR would align the formatting to be the same in both (just "print" the values as is)