diff --git a/charts/wger/templates/ingress.yaml b/charts/wger/templates/ingress.yaml index 7d8565e..eecbaba 100644 --- a/charts/wger/templates/ingress.yaml +++ b/charts/wger/templates/ingress.yaml @@ -12,6 +12,9 @@ metadata: {{- end }} {{- end }} spec: +{{- if .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName | quote }} +{{- end }} {{- if .Values.ingress.tls }} tls: - hosts: diff --git a/charts/wger/values.yaml b/charts/wger/values.yaml index 596683e..e0f10e7 100644 --- a/charts/wger/values.yaml +++ b/charts/wger/values.yaml @@ -100,6 +100,7 @@ celery: ingress: enabled: false + ingressClassName: url: fit.example.com tls: true annotations: {}