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
appVersion, tag, and repository changes #132
Comments
I think it's just a matter of time when someone would want to rely on specific docker image for something like st2actionrunner, st2sensorcontainer or any other st2 service and so adding this configuration per container makes perfect sense to me long term. |
I think a PR that does option 2 would be a good first step. We could set -{{ tpl (.Values.st2chatops.image.tag | default .Chart.AppVersion) . }}
+{{ tpl (.Values.st2chatops.image.tag | default .Values.image.tag) . }} And then all the other apps could get similar treatment like you described in option 3. ps: I looked at creating a |
I just pushed #200 to add I only added |
In #131 we added image.repository. I'd also like to add an optional image.tag, while defaulting to Chart.AppVersion. However, before I make the PR, I am seeing that st2chatops and st2sensorcontainer (which is really the user-provided custom st2packs container) both have their own "image.tag" and "image.repository" sections.
I see three paths to take:
image: "{{ template "imageRepository" . }}/st2actionrunner{{ template "enterpriseSuffix" . }}:{{ default .Chart.AppVersion .Values.image.tag }}"
The end result would work like so:
The text was updated successfully, but these errors were encountered: