Add force namespace isolation for UI ()

pull/69/head
Dat Truong 2019-05-09 17:45:52 +02:00 committed by Alex Collins
parent 10376b2f8a
commit add39cf90b
3 changed files with 7 additions and 1 deletions

View File

@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "v2.2.1"
description: A Helm chart for Kubernetes
name: argo
version: 0.3.1
version: 0.3.2

View File

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

View File

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