feat(argo-rollouts): Support extraArgs for controller and dashboard (#978)
* feat(argo-rollouts): Support extraArgs for controller and dashboard Adding support for additional arguments that are passed to the controller and the dashboard. Following the pattern of other Argo charts by re-using the name `extraArgs` for the value. Refs: https://github.com/argoproj/argo-helm/issues/969 Signed-off-by: Sebastian J <zeeman@zeeman.de> * Update charts/argo-rollouts/templates/controller/deployment.yaml Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Signed-off-by: Sebastian J <zeeman@zeeman.de> * Update charts/argo-rollouts/templates/dashboard/deployment.yaml Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Signed-off-by: Sebastian J <zeeman@zeeman.de> * PR comments Signed-off-by: Sebastian J <zeeman@zeeman.de> * Fix newly added parameters in README Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Fix changelog keyword Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
a992c96053
commit
85f3039265
5 changed files with 19 additions and 3 deletions
|
|
@ -32,10 +32,13 @@ spec:
|
|||
serviceAccountName: {{ include "argo-rollouts.serviceAccountName" . }}
|
||||
containers:
|
||||
- image: "{{ .Values.controller.image.registry }}/{{ .Values.controller.image.repository }}:{{ default .Chart.AppVersion .Values.controller.image.tag }}"
|
||||
{{- if not .Values.clusterInstall }}
|
||||
args:
|
||||
{{- if not .Values.clusterInstall }}
|
||||
- --namespaced
|
||||
{{- end }}
|
||||
{{- with .Values.controller.extraArgs }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
||||
name: argo-rollouts
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue