feat(argo-workflows): add imagePullSecret for workflow sa (#2226)
Signed-off-by: Fuochi <ffuochi@hotmail.com>
This commit is contained in:
parent
92b2724b0f
commit
dc56fa63f3
4 changed files with 10 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.4.10
|
||||||
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.32.3
|
version: 0.33.0
|
||||||
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -16,5 +16,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: added
|
||||||
description: Upgrade to Argo Workflows v3.4.10
|
description: add imagePullSecret for workflow sa
|
||||||
|
|
|
@ -127,6 +127,7 @@ Fields to note:
|
||||||
| workflow.serviceAccount.create | bool | `false` | Specifies whether a service account should be created |
|
| workflow.serviceAccount.create | bool | `false` | Specifies whether a service account should be created |
|
||||||
| workflow.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| workflow.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| workflow.serviceAccount.name | string | `"argo-workflow"` | Service account which is used to run workflows |
|
| workflow.serviceAccount.name | string | `"argo-workflow"` | Service account which is used to run workflows |
|
||||||
|
| workflow.serviceAccount.pullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Same format as `.Values.images.pullSecrets` |
|
||||||
|
|
||||||
### Workflow Controller
|
### Workflow Controller
|
||||||
|
|
||||||
|
|
|
@ -17,5 +17,9 @@ metadata:
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with $.Values.workflow.serviceAccount.pullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 2 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -54,6 +54,8 @@ workflow:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# -- Service account which is used to run workflows
|
# -- Service account which is used to run workflows
|
||||||
name: "argo-workflow"
|
name: "argo-workflow"
|
||||||
|
# -- Secrets with credentials to pull images from a private registry. Same format as `.Values.images.pullSecrets`
|
||||||
|
pullSecrets: []
|
||||||
rbac:
|
rbac:
|
||||||
# -- Adds Role and RoleBinding for the above specified service account to be able to run workflows.
|
# -- Adds Role and RoleBinding for the above specified service account to be able to run workflows.
|
||||||
# A Role and Rolebinding pair is also created for each namespace in controller.workflowNamespaces (see below)
|
# A Role and Rolebinding pair is also created for each namespace in controller.workflowNamespaces (see below)
|
||||||
|
|
Loading…
Reference in a new issue