Be able to specify port name on ui pod

This commit is contained in:
Samuel Wyma 2019-09-02 20:55:41 +01:00
parent c3ebe8e76d
commit 7edc9a0ec3
2 changed files with 7 additions and 0 deletions

View file

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

View file

@ -23,6 +23,7 @@ controller:
podAnnotations: {}
# Optional labels to add to the controller pods
podLabels: {}
# podPortName: http
metricsConfig:
enabled: false
path: /metrics