feat(argo-workflows): add the ability to declare initContainers (#1923)
feat(argo-workflows): add the ability to declare initContainers to server and controller deployments Signed-off-by: Justin Sievenpiper <justin@sievenpiper.co>
This commit is contained in:
parent
b19beee4f8
commit
56136f6518
5 changed files with 19 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.4.6
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.22.16
|
version: 0.23.0
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -13,5 +13,5 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: added
|
||||||
description: Upgrade Argo Workflows to v3.4.6.
|
description: Added the ability to deploy init containers alongside the controller and server deployments.
|
||||||
|
|
|
@ -108,6 +108,7 @@ Fields to note:
|
||||||
| controller.extraArgs | list | `[]` | Extra arguments to be added to the controller |
|
| controller.extraArgs | list | `[]` | Extra arguments to be added to the controller |
|
||||||
| controller.extraContainers | list | `[]` | Extra containers to be added to the controller deployment |
|
| controller.extraContainers | list | `[]` | Extra containers to be added to the controller deployment |
|
||||||
| controller.extraEnv | list | `[]` | Extra environment variables to provide to the controller container |
|
| controller.extraEnv | list | `[]` | Extra environment variables to provide to the controller container |
|
||||||
|
| controller.extraInitContainers | list | `[]` | Enables init containers to be added to the controller deployment |
|
||||||
| controller.image.registry | string | `"quay.io"` | Registry to use for the controller |
|
| 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.repository | string | `"argoproj/workflow-controller"` | Registry to use for the controller |
|
||||||
| controller.image.tag | string | `""` | Image tag for the workflow controller. Defaults to `.Values.images.tag`. |
|
| controller.image.tag | string | `""` | Image tag for the workflow controller. Defaults to `.Values.images.tag`. |
|
||||||
|
@ -215,6 +216,7 @@ Fields to note:
|
||||||
| server.extraArgs | list | `[]` | Extra arguments to provide to the Argo server binary, such as for disabling authentication. |
|
| server.extraArgs | list | `[]` | Extra arguments to provide to the Argo server binary, such as for disabling authentication. |
|
||||||
| server.extraContainers | list | `[]` | Extra containers to be added to the server deployment |
|
| server.extraContainers | list | `[]` | Extra containers to be added to the server deployment |
|
||||||
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container |
|
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container |
|
||||||
|
| server.extraInitContainers | list | `[]` | Enables init containers to be added to the server deployment |
|
||||||
| server.image.registry | string | `"quay.io"` | Registry to use for the server |
|
| 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.repository | string | `"argoproj/argocli"` | Repository to use for the server |
|
||||||
| server.image.tag | string | `""` | Image tag for the Argo Workflows server. Defaults to `.Values.images.tag`. |
|
| server.image.tag | string | `""` | Image tag for the Argo Workflows server. Defaults to `.Values.images.tag`. |
|
||||||
|
|
|
@ -32,6 +32,10 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.controller.extraInitContainers }}
|
||||||
|
initContainers:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: controller
|
||||||
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.controller.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag }}"
|
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.controller.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag }}"
|
||||||
|
|
|
@ -33,6 +33,10 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.server.extraInitContainers }}
|
||||||
|
initContainers:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: argo-server
|
- name: argo-server
|
||||||
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.server.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag }}"
|
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.server.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag }}"
|
||||||
|
|
|
@ -295,6 +295,9 @@ controller:
|
||||||
# -- Extra containers to be added to the controller deployment
|
# -- Extra containers to be added to the controller deployment
|
||||||
extraContainers: []
|
extraContainers: []
|
||||||
|
|
||||||
|
# -- Enables init containers to be added to the controller deployment
|
||||||
|
extraInitContainers: []
|
||||||
|
|
||||||
# -- Workflow retention by number of workflows
|
# -- Workflow retention by number of workflows
|
||||||
retentionPolicy: {}
|
retentionPolicy: {}
|
||||||
# completed: 10
|
# completed: 10
|
||||||
|
@ -570,6 +573,9 @@ server:
|
||||||
# -- Extra containers to be added to the server deployment
|
# -- Extra containers to be added to the server deployment
|
||||||
extraContainers: []
|
extraContainers: []
|
||||||
|
|
||||||
|
# -- Enables init containers to be added to the server deployment
|
||||||
|
extraInitContainers: []
|
||||||
|
|
||||||
# -- Array of extra K8s manifests to deploy
|
# -- Array of extra K8s manifests to deploy
|
||||||
extraObjects: []
|
extraObjects: []
|
||||||
# - apiVersion: secrets-store.csi.x-k8s.io/v1
|
# - apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||||
|
|
Loading…
Reference in a new issue