mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user