diff --git a/charts/localstack/templates/ingress.yaml b/charts/localstack/templates/ingress.yaml index b7cae6f..054f206 100644 --- a/charts/localstack/templates/ingress.yaml +++ b/charts/localstack/templates/ingress.yaml @@ -22,6 +22,9 @@ metadata: {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} spec: +{{- if .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName | quote }} +{{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index cd32e99..2720776 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -130,9 +130,9 @@ service: ingress: enabled: false annotations: {} - # Adjust the ingress class when not using nginx as incress controller - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" + ## @param ingress.ingressClassName Set the name of the class to use + ## + ingressClassName: "" hosts: - host: chart-example.local paths: