Be able to specify port name on ui pod
This commit is contained in:
parent
c3ebe8e76d
commit
7edc9a0ec3
2 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,12 @@ spec:
|
||||||
- name: ui
|
- name: ui
|
||||||
image: "{{ .Values.images.namespace }}/{{ .Values.images.ui }}:{{ default .Values.images.tag .Values.ui.image.tag }}"
|
image: "{{ .Values.images.namespace }}/{{ .Values.images.ui }}:{{ default .Values.images.tag .Values.ui.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
||||||
|
{{- if .Values.ui.podPortName }}
|
||||||
|
ports:
|
||||||
|
- name: {{ .Values.ui.podPortName }}
|
||||||
|
containerPort: 8001
|
||||||
|
protocol: TCP
|
||||||
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if .Values.ui.forceNamespaceIsolation }}
|
{{- if .Values.ui.forceNamespaceIsolation }}
|
||||||
- name: FORCE_NAMESPACE_ISOLATION
|
- name: FORCE_NAMESPACE_ISOLATION
|
||||||
|
|
|
@ -23,6 +23,7 @@ controller:
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
# Optional labels to add to the controller pods
|
# Optional labels to add to the controller pods
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
# podPortName: http
|
||||||
metricsConfig:
|
metricsConfig:
|
||||||
enabled: false
|
enabled: false
|
||||||
path: /metrics
|
path: /metrics
|
||||||
|
|
Loading…
Reference in a new issue