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 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: {{ .Values.controller.containerName }}
|
||||||
{{- with .Values.controller.image }}
|
{{- with .Values.controller.image }}
|
||||||
image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -66,7 +66,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: {{ .Values.controller.containerName }}
|
||||||
{{- with .Values.controller.image }}
|
{{- with .Values.controller.image }}
|
||||||
image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -21,6 +21,9 @@ controller:
|
||||||
# Use an existing PSP instead of creating one
|
# Use an existing PSP instead of creating one
|
||||||
existingPsp: ""
|
existingPsp: ""
|
||||||
|
|
||||||
|
# Configures the controller container name
|
||||||
|
containerName: controller
|
||||||
|
|
||||||
# Configures the ports the nginx-controller listens on
|
# Configures the ports the nginx-controller listens on
|
||||||
containerPort:
|
containerPort:
|
||||||
http: 80
|
http: 80
|
||||||
|
|
Loading…
Reference in a new issue