Helm chart improved for ingress (#19826)

* ingressClassName

* ingress values must be optional
This commit is contained in:
mickkael
2022-11-11 02:11:25 +08:00
committed by GitHub
parent 60c4df3d1d
commit 6c7cdedb24
2 changed files with 7 additions and 2 deletions

View File

@ -19,6 +19,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}