diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 3ab858f2..3f4428ef 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -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 diff --git a/charts/argo/templates/ui-deployment.yaml b/charts/argo/templates/ui-deployment.yaml index 8790a277..8df55b7f 100644 --- a/charts/argo/templates/ui-deployment.yaml +++ b/charts/argo/templates/ui-deployment.yaml @@ -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 diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 85a4fc37..e9d1c7e9 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -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