fix: Hotfix server.baseHref value not being used (#261)

pull/266/head
Trevor Foster 2020-03-13 11:04:31 -04:00 committed by GitHub
parent 664829aa24
commit 219778eb9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

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

View File

@ -59,7 +59,7 @@ spec:
apiVersion: v1
fieldPath: metadata.namespace
- name: BASE_HREF
value: /
value: {{ .Values.server.baseHref | quote }}
resources:
{{- toYaml .Values.server.resources | nindent 12 }}
{{- with .Values.server.nodeSelector }}

View File

@ -104,7 +104,9 @@ server:
enabled: true
# only show workflows where UI installed
forceNamespaceIsolation: false
# UI BASE_HREF env variable
# only updates base url of resources on client side,
# it's expected that a proxy server rewrites the request URL and gets rid of this prefix
# https://github.com/argoproj/argo/issues/716#issuecomment-433213190
baseHref: /
image:
# Overrides .images.tag if defined.