diff --git a/charts/library/common/templates/configmaps/_portal.tpl b/charts/library/common/templates/configmaps/_portal.tpl index 4d55d68f991..b81329bb193 100644 --- a/charts/library/common/templates/configmaps/_portal.tpl +++ b/charts/library/common/templates/configmaps/_portal.tpl @@ -66,11 +66,11 @@ {{- if and ( .Values.portal.host ) ( eq $host "$node_ip" ) }} - {{- $host = .Values.portal.host }} + {{- $host = ( tpl .Values.portal.host $ ) }} {{- end }} {{- if .Values.portal.path }} - {{- $path = .Values.portal.path }} + {{- $path = ( tpl .Values.portal.path $ ) }} {{- end }} --- diff --git a/charts/library/common/values.yaml b/charts/library/common/values.yaml index d70a593ce6b..077b5ba22be 100644 --- a/charts/library/common/values.yaml +++ b/charts/library/common/values.yaml @@ -128,6 +128,17 @@ command: [] # -- Override the args for the default container args: [] +# -- Set the primary portal for TrueNAS SCALE +portal: + # -- enable generation of the portal configmap + enabled: false + # -- Override Path using helm variables + # path: '/' + # -- Override the host, for example: by using a custom IP + # host: 192.168.66.6 + # -- Override the auotmatically gathered ingress port + # ingressPort: 666 + # -- Set additional annotations on the pod podAnnotationsList: [] # - name: somename