Add FORCE_NAMESPACE_ISOLATION to ui vaules

This commit is contained in:
Dat Truong 2019-05-09 15:30:46 +02:00
parent 10376b2f8a
commit e292b75a6e
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,10 @@ spec:
- name: ui - name: ui
image: "{{ .Values.images.namespace }}/{{ .Values.images.ui }}:{{ .Values.images.tag }}" image: "{{ .Values.images.namespace }}/{{ .Values.images.ui }}:{{ .Values.images.tag }}"
env: env:
{{- if .Values.ui.forceNamespaceIsolation }}
- name: FORCE_NAMESPACE_ISOLATION
value: "true"
{{- end }}
- name: IN_CLUSTER - name: IN_CLUSTER
value: "true" value: "true"
- name: ARGO_NAMESPACE - name: ARGO_NAMESPACE

View file

@ -37,6 +37,8 @@ controller:
ui: ui:
enabled: true enabled: true
# only show workflows where UI installed
forceNamespaceIsolation: false
# optional map of annotations to be applied to the ui Pods # optional map of annotations to be applied to the ui Pods
podAnnotations: {} podAnnotations: {}
name: ui name: ui