mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[bitnami/grafana] Allow template rendering in ingress hostname (#13371)
* [bitnami/grafana] Allow template rendering in ingress hostname During a migration from [bitnami/grafana-operator] I noticed the ingress hostname can't be templated Signed-off-by: Yarden Shoham <hrsi88@gmail.com> * Fix whitespace from merge conflict Signed-off-by: Yarden Shoham <hrsi88@gmail.com> * Patch version Signed-off-by: Yarden Shoham <hrsi88@gmail.com> Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
This commit is contained in:
@@ -24,4 +24,4 @@ name: grafana
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/grafana
|
||||
- https://grafana.com/
|
||||
version: 8.2.16
|
||||
version: 8.2.17
|
||||
|
||||
@@ -36,7 +36,7 @@ spec:
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
|
||||
{{- if ne .Values.ingress.hostname "*" }}
|
||||
host: {{ .Values.ingress.hostname }}
|
||||
host: {{ include "common.tplvalues.render" (dict "value" .Values.ingress.hostname "context" $) }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range .Values.ingress.extraHosts }}
|
||||
|
||||
Reference in New Issue
Block a user