[bitnami/aspnet-core] Fix context for include inside range extraHosts (#9432)

Signed-off-by: Konstantin Grachev <me@grachevko.ru>
This commit is contained in:
Konstantin Grachev
2022-03-17 12:38:11 +03:00
committed by GitHub
parent c93e9ca13f
commit c284285e6b

View File

@@ -43,10 +43,10 @@ spec:
{{- include "common.tplvalues.render" (dict "value" .Values.healthIngress.extraPaths "context" $) | nindent 10 }}
{{- end }}
- path: {{ .Values.healthIngress.path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
pathType: {{ .Values.healthIngress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "aspnet-core.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "aspnet-core.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- if or .Values.healthIngress.tls .Values.healthIngress.extraTls .Values.healthIngress.hosts }}
tls: