feat(helm): add support for spec.ingressClassName to Ingress template (#5202)

This commit is contained in:
Martin Lindner authored and GitHub committed 2022-05-09 00:18:13 -04:00
1 parent 0fcc083940
commit a06201aaf5
3 files changed
+5

No files matched your search

+3
View File
@@ -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 }}