-
Notifications
You must be signed in to change notification settings - Fork 14k
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
feat: pin version of superset in helm chart #18668
Conversation
@ad-m
Thanks in advance! |
@CarpathianUA, we had the latest release of Chart 16 hours ago ( https://github.com/apache/superset/releases/tag/superset-helm-chart-0.5.8 ) and we released the latest Superset version before that ( https://github.com/apache/superset/releases/tag/1.4.1 ). Do I understand correctly that you expect no new Chart to be released until Superset >1.4.1. eg. 1.4.2 is released? |
It sounds great. It also caused some problems for me in the past (as far as I remember it was caused by changing container's entrypoint), but then I've just changed |
@@ -160,7 +160,7 @@ extraConfigMountPath: "/app/configs" | |||
|
|||
image: | |||
repository: apache/superset | |||
tag: latest | |||
# tag: "v{{ $.Chart.AppVersion }}" |
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.
Can we just use this templated value? I think that adding the ability to template these fields would be useful.
i.e.:
tag: "v{{ $.Chart.AppVersion }}"
and then in deployment template, etc:
image: "{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }}"
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.
BTW, I'm not sure that the referencing "v{{ $.Chart.AppVersion }}"
will work at all, since Helm values don't support any templating besides include
and template
via plane YAML AFAIR
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.
Could be, but it's worth a try :). I've found that in general, the more fields that support templating, the better.
@ad-m |
Co-authored-by: wiktor2200 <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
SUMMARY
I propose to pin version of Superset in Chart.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
There are several reasons for this:
The downside is that we need to update the Chart and release it in order for users to use the new versions. Currently, however, releases are automated, and verification of the new Superset release that it is compatible with the Chart is even advisable.
In the future, we can think of an automatic version update when the Superset version is changed. For this, the e2e Superset tests could be useful, perhaps taking into account the update process as well.
TESTING INSTRUCTIONS
I deployed an updated Chart and verified if pods started and inspected created manifests.
ADDITIONAL INFORMATION
latest
tag by default #17540@CarpathianUA ,@quenchua, @alexander-onesoil as affected by #17540, could you take a look and provide feedback?
@craig-rueda as maintainer of Helm Chart, could you take a look?