diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index a13b7f4..91c4ba7 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -10,6 +10,9 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + {{- if .Values.ingress.className }} + ingressClassName: {{ .Values.ingress.className }} + {{- end }} {{- if .Values.ingress.tls }} tls: {{- toYaml .Values.ingress.tls | nindent 4 }} diff --git a/chart/values.yaml b/chart/values.yaml index 68cf274..52dfccf 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -97,6 +97,7 @@ resources: ingress: enabled: false + className: "" annotations: {} hosts: - host: chart-example.local