-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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(argo-workflows): Add global tag #1377
Conversation
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
charts/argo-workflows/Chart.yaml
Outdated
version: 0.16.7 | ||
version: 0.17.0 |
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 upgraded minor version because I removed .Values.images
(it has at least breaking change).
I am wondering if I should keep .Values.images
as deprecated or add some notes on README like argo-cd upgrading guide... 🤔
charts/argo-workflows/values.yaml
Outdated
# -- Overrides the global Argo Workflows image tag whose default is the chart appVersion | ||
tag: "" | ||
# -- If defined, a imagePullPolicy applied to all Argo Workflows deployments | ||
pullPolicy: IfNotPresent |
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 think IfNotPresent
is better than Always
, like argo-cd ? 🤔
This change will break setups for many users who rely on the values in question. They will suddenly find that they are running a different (possibly, very different) version of Argo Workflows. This is a big price to pay, but the value of the improvement it is buying is questionable. |
@vladlosev Keeping |
|
a4a452e
to
7cb211f
Compare
.Values.images
values to globalThis reverts commit 67b4294. Signed-off-by: yu-croco <yuki.kita22@gmail.com>
7cb211f
to
15fa37f
Compare
Thank you! I reverted breaking changes and just added |
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.
The code changes look fine, but I suggest slightly different wordings in the documentation, for clarity.
charts/argo-workflows/README.md
Outdated
@@ -45,6 +45,7 @@ Fields to note: | |||
| fullnameOverride | string | `nil` | String to fully override "argo-workflows.fullname" template | | |||
| images.pullPolicy | string | `"Always"` | imagePullPolicy to apply to all containers | | |||
| images.pullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry | | |||
| images.tag | string | `""` | Overrides the global Argo Workflows image tag whose default is the 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.
Common tag for Argo Workflows images. Defaults to .Chart.AppVersion.
.
charts/argo-workflows/README.md
Outdated
@@ -73,7 +74,7 @@ Fields to note: | |||
| controller.extraEnv | list | `[]` | Extra environment variables to provide to the controller container | | |||
| controller.image.registry | string | `"quay.io"` | Registry to use for the controller | | |||
| controller.image.repository | string | `"argoproj/workflow-controller"` | Registry to use for the controller | | |||
| controller.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | |||
| controller.image.tag | string | `""` | Overrides the image tag whose default is `images.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.
Image tag for the workflow controller. Defaults to .Values.images.tag
.
charts/argo-workflows/README.md
Outdated
@@ -143,7 +144,7 @@ Fields to note: | |||
| executor.env | object | `{}` | Adds environment variables for the executor. | | |||
| executor.image.registry | string | `"quay.io"` | Registry to use for the Workflow Executors | | |||
| executor.image.repository | string | `"argoproj/argoexec"` | Repository to use for the Workflow Executors | | |||
| executor.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | |||
| executor.image.tag | string | `""` | Overrides the image tag whose default is `images.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.
Image tag for the workflow executor. Defaults to .Values.images.tag
.
charts/argo-workflows/README.md
Outdated
@@ -162,7 +163,7 @@ Fields to note: | |||
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container | | |||
| server.image.registry | string | `"quay.io"` | Registry to use for the server | | |||
| server.image.repository | string | `"argoproj/argocli"` | Repository to use for the server | | |||
| server.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | |||
| server.image.tag | string | `""` | Overrides the image tag whose default is `images.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.
Image tag for the Argo Workflows server. Defaults to .Values.images.tag
.
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
c8d6e82
to
281933f
Compare
@vladlosev |
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.
LGTM
Thank you for reviewing! |
* feat(argo-workflows): Moved `.Values.images` values to global Signed-off-by: yu-croco <yuki.kita22@gmail.com> * Revert "feat(argo-workflows): Moved `.Values.images` values to global" This reverts commit 67b4294. Signed-off-by: yu-croco <yuki.kita22@gmail.com> * feat(argo-workflows): Add global tag Signed-off-by: yu-croco <yuki.kita22@gmail.com>
I added
.Values.images.tag
🙋Signed-off-by: yu-croco yuki.kita22@gmail.com
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Changes are automatically published when merged to
main
. They are not published on branches.