Add support for ingressClassName (#8644)

This commit is contained in:
Mark Wooff
2022-01-13 06:07:44 -05:00
committed by GitHub
parent 6b02085be4
commit 3cab63eb2f
4 changed files with 10 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ metadata:
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
rules:
{{- if .Values.ingress.hostname }}
- host: {{ .Values.ingress.hostname }}