diff options
author | mickkael <19755421+mickkael@users.noreply.github.com> | 2022-11-11 02:11:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 19:11:25 +0100 |
commit | 6c7cdedb2460b3fed1000b1c84e6a1fdffda4c5c (patch) | |
tree | 2c7d6fc2c77494b4509c786f0463a1f402a15900 /chart/templates | |
parent | 60c4df3d1df5b15b488498bea5220363ee5d22d8 (diff) |
Helm chart improved for ingress (#19826)
* ingressClassName * ingress values must be optional
Diffstat (limited to 'chart/templates')
-rw-r--r-- | chart/templates/ingress.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index 811d98a22..086638297 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -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 }} |