From a823958441f8cb4d3d08ec13212745b8879f1624 Mon Sep 17 00:00:00 2001 From: Leonid Prytuliak Date: Mon, 27 Jan 2020 16:10:50 +0200 Subject: [PATCH] [argo-helm/argo] Added possibility to override BASE_HREF env variables through values Signed-off-by: Leonid Prytuliak --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/ui-deployment.yaml | 2 +- charts/argo/values.yaml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 694a9c9d..6d985fbf 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -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: diff --git a/charts/argo/templates/ui-deployment.yaml b/charts/argo/templates/ui-deployment.yaml index 1cd416cf..36a8dba6 100644 --- a/charts/argo/templates/ui-deployment.yaml +++ b/charts/argo/templates/ui-deployment.yaml @@ -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 -}} diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 8ef57d6f..ebafc313 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -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: ""