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 }}
|
{{ $key }}: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.ingress.ingressClassName }}
|
||||||
|
ingressClassName: {{ .Values.ingress.ingressClassName }}
|
||||||
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
- host: {{ .Values.ingress.host }}
|
- host: {{ .Values.ingress.host }}
|
||||||
http:
|
http:
|
||||||
|
@ -151,6 +151,9 @@ ingress:
|
|||||||
## Set to true to enable ingress record generation
|
## Set to true to enable ingress record generation
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
## Add ingressClassName to the Ingress
|
||||||
|
## Can replace the kubernetes.io/ingress.class annotation on v1.18+
|
||||||
|
ingressClassName: ~
|
||||||
|
|
||||||
host: xip.io
|
host: xip.io
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user