Add support for ingressClassName in helm chart

Signed-off-by: Antoine Bertin <ant.bertin@gmail.com>
This commit is contained in:
Antoine Bertin 2021-03-31 19:08:32 +02:00 committed by David Ko
parent 63041e174c
commit 53657e2a86
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,9 @@ metadata:
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
rules:
- host: {{ .Values.ingress.host }}
http:

View File

@ -151,6 +151,9 @@ ingress:
## Set to true to enable ingress record generation
enabled: false
## Add ingressClassName to the Ingress
## Can replace the kubernetes.io/ingress.class annotation on v1.18+
ingressClassName: ~
host: xip.io