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:
Kjeld Schouten-Lebbing
2022-01-12 21:32:51 +01:00
committed by GitHub
parent 85c8d801c6
commit 3816ea6dd1
2 changed files with 13 additions and 2 deletions
@@ -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 }}
--- ---
+11
View File
@@ -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