[Helm] allow configuring controller container name
Signed-off-by: amirschw <24677563+amirschw@users.noreply.github.com>
This commit is contained in:
parent
f5cfd5730c
commit
bee7360ca4
3 changed files with 8 additions and 5 deletions
|
|
@ -26,10 +26,10 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
{{- if .Values.controller.podAnnotations }}
|
||||
annotations:
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.controller.podAnnotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "ingress-nginx.selectorLabels" . | nindent 8 }}
|
||||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: controller
|
||||
- name: {{ .Values.controller.containerName }}
|
||||
{{- with .Values.controller.image }}
|
||||
image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue