Merge pull request #7046 from amirschw/controller-name

[Helm] allow configuring controller container name
This commit is contained in:
Kubernetes Prow Robot 2021-05-04 06:33:12 -07:00 committed by GitHub
commit c17506b9fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View file

@ -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 }}

View file

@ -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 }}

View file

@ -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