Skip to content

Commit 0281fb4

Browse files
authored
allow setting the ingress class via spec.ingressClassName (#118)
1 parent 5694631 commit 0281fb4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

charts/localstack/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ metadata:
2222
{{- tpl (toYaml .) $ | nindent 4 }}
2323
{{- end }}
2424
spec:
25+
{{- if .Values.ingress.ingressClassName }}
26+
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
27+
{{- end }}
2528
{{- if .Values.ingress.tls }}
2629
tls:
2730
{{- range .Values.ingress.tls }}

charts/localstack/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ service:
130130
ingress:
131131
enabled: false
132132
annotations: {}
133-
# Adjust the ingress class when not using nginx as incress controller
134-
# kubernetes.io/ingress.class: nginx
135-
# kubernetes.io/tls-acme: "true"
133+
## @param ingress.ingressClassName Set the name of the class to use
134+
##
135+
ingressClassName: ""
136136
hosts:
137137
- host: chart-example.local
138138
paths:

0 commit comments

Comments
 (0)