fix(common): document the portal configmap and have it parse tpl for config (#1612)
* fix(common): add documentation for the portal button and enable it by default for all deployments * move portal settings to tpl
This commit is contained in:
@@ -66,11 +66,11 @@
|
|||||||
|
|
||||||
|
|
||||||
{{- if and ( .Values.portal.host ) ( eq $host "$node_ip" ) }}
|
{{- if and ( .Values.portal.host ) ( eq $host "$node_ip" ) }}
|
||||||
{{- $host = .Values.portal.host }}
|
{{- $host = ( tpl .Values.portal.host $ ) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Values.portal.path }}
|
{{- if .Values.portal.path }}
|
||||||
{{- $path = .Values.portal.path }}
|
{{- $path = ( tpl .Values.portal.path $ ) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -128,6 +128,17 @@ command: []
|
|||||||
# -- Override the args for the default container
|
# -- Override the args for the default container
|
||||||
args: []
|
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
|
# -- Set additional annotations on the pod
|
||||||
podAnnotationsList: []
|
podAnnotationsList: []
|
||||||
# - name: somename
|
# - name: somename
|
||||||
|
|||||||
Reference in New Issue
Block a user