Add force namespace isolation for UI (#66)
This commit is contained in:
parent
10376b2f8a
commit
add39cf90b
3 changed files with 7 additions and 1 deletions
|
@ -2,4 +2,4 @@ apiVersion: v1
|
||||||
appVersion: "v2.2.1"
|
appVersion: "v2.2.1"
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.3.1
|
version: 0.3.2
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue