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
|
||||
image: "{{ .Values.images.namespace }}/{{ .Values.images.ui }}:{{ default .Values.images.tag .Values.ui.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
||||
{{- if .Values.ui.podPortName }}
|
||||
ports:
|
||||
- name: {{ .Values.ui.podPortName }}
|
||||
containerPort: 8001
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.ui.forceNamespaceIsolation }}
|
||||
- name: FORCE_NAMESPACE_ISOLATION
|
||||
|
|
|
@ -23,6 +23,7 @@ controller:
|
|||
podAnnotations: {}
|
||||
# Optional labels to add to the controller pods
|
||||
podLabels: {}
|
||||
# podPortName: http
|
||||
metricsConfig:
|
||||
enabled: false
|
||||
path: /metrics
|
||||
|
|
Loading…
Reference in a new issue