[bitnami/nginx] ingress rule with no "host" (#13191)

* Update ingress.yaml

"host" is optional, so if "host" is not specified we still need to be able to create the rule

Signed-off-by: Boris Girsch <girsch@ventx.de>

* Update Chart.yaml

bump version

Signed-off-by: Boris Girsch <girsch@ventx.de>

Signed-off-by: Boris Girsch <girsch@ventx.de>
This commit is contained in:
Boris Girsch
2022-11-02 15:27:22 +01:00
committed by GitHub
parent 5741a25f51
commit 5786f7b933
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -25,4 +25,4 @@ name: nginx
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/nginx
- https://www.nginx.org
version: 13.2.12
version: 13.2.13
+11
View File
@@ -32,6 +32,17 @@ spec:
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
{{- else }}
- http:
paths:
{{- if .Values.ingress.extraPaths }}
{{- toYaml .Values.ingress.extraPaths | nindent 10 }}
{{- end }}
- path: {{ .Values.ingress.path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- range .Values.ingress.extraHosts }}
- host: {{ .name | quote }}