feat(helm): add support for spec.ingressClassName to Ingress template (#5202)
This commit is contained in:
1 parent
0fcc083940
commit
a06201aaf5
3 files changed
+5
No files matched your search
@@ -23,6 +23,9 @@ metadata:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
|
||||
ingressClassName: {{ .Values.ingress.className }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
|
||||
Reference in new issue
Block a user