Merge pull request #7046 from amirschw/controller-name
[Helm] allow configuring controller container name
This commit is contained in:
commit
c17506b9fb
3 changed files with 8 additions and 5 deletions
|
@ -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 }}
|
||||
|
|
|
@ -66,7 +66,7 @@ spec:
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: controller
|
||||
- name: {{ .Values.controller.containerName }}
|
||||
{{- with .Values.controller.image }}
|
||||
image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
||||
{{- end }}
|
||||
|
|
|
@ -21,6 +21,9 @@ controller:
|
|||
# Use an existing PSP instead of creating one
|
||||
existingPsp: ""
|
||||
|
||||
# Configures the controller container name
|
||||
containerName: controller
|
||||
|
||||
# Configures the ports the nginx-controller listens on
|
||||
containerPort:
|
||||
http: 80
|
||||
|
|
Loading…
Reference in a new issue