[bitnami/keycloak] Update ingress.yaml to support optional hostname (#6300)

* Update ingress.yaml to support optional hostname

* version bump
This commit is contained in:
Wojtek Turowicz
2021-05-06 11:23:39 +02:00
committed by GitHub
parent 96988bb9b1
commit 7c0aa70c9b
2 changed files with 6 additions and 4 deletions

View File

@@ -26,4 +26,4 @@ name: keycloak
sources:
- https://github.com/bitnami/bitnami-docker-keycloak
- https://github.com/keycloak/keycloak
version: 2.4.7
version: 2.4.8

View File

@@ -23,15 +23,17 @@ metadata:
{{- end }}
spec:
rules:
{{- if .Values.ingress.hostname }}
- host: {{ .Values.ingress.hostname }}
http:
{{- if .Values.ingress.path }}
- http:
paths:
- 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" .Values.ingress.servicePort "context" $) | nindent 14 }}
{{- if .Values.ingress.hostname }}
host: {{ .Values.ingress.hostname }}
{{- end }}
{{- end }}
{{- range .Values.ingress.extraHosts }}
- host: {{ .name }}