diff --git a/charts/jumpserver/templates/web/ingress.yaml b/charts/jumpserver/templates/web/ingress.yaml index 4bdb7ff..9c2d046 100644 --- a/charts/jumpserver/templates/web/ingress.yaml +++ b/charts/jumpserver/templates/web/ingress.yaml @@ -13,6 +13,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 }}