Add support for ingressClassName in helm chart
Signed-off-by: Antoine Bertin <ant.bertin@gmail.com>
This commit is contained in:
parent
63041e174c
commit
53657e2a86
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user