[argo-helm/argo] Added possibility to override BASE_HREF env variables through values

Signed-off-by: Leonid Prytuliak <prytuliak.l@gmail.com>
This commit is contained in:
Leonid Prytuliak 2020-01-27 16:10:50 +02:00
parent 792f112ac7
commit a823958441
3 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v2.4.3"
description: A Helm chart for Argo Workflows
name: argo
version: 0.6.5
version: 0.6.6
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
maintainers:

View file

@ -49,7 +49,7 @@ spec:
apiVersion: v1
fieldPath: metadata.namespace
- name: BASE_HREF
value: /
value: {{ .Values.ui.baseHref }}
resources:
{{- toYaml .Values.ui.resources | nindent 12 }}
{{- end -}}

View file

@ -98,6 +98,8 @@ ui:
enabled: true
# only show workflows where UI installed
forceNamespaceIsolation: false
# UI BASE_HREF env variable
baseHref: /
image:
# Overrides .images.tag if defined.
tag: ""