Skip to content

Commit 42b443c

Browse files
authored
Add support for providing ingressClassName (#340)
1 parent e843498 commit 42b443c

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## In Development
4+
* Add support for providing `ingressClassName`. (#336) (by @mamercad)
45
* Add an experimental GitHu/K3s Lint and End-to-End testing workflow. (#243) (by @mamercad)
56
* Set `st2client` resources by `values.yaml`. (#337) (by @mamercad)
67
* Switch to the official `bats` Docker image for e2e tests. (#338)

templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ metadata:
1717
{{- toYaml .Values.ingress.annotations | nindent 4 }}
1818
{{- end }}
1919
spec:
20+
{{- if .Values.ingress.ingressClassName }}
21+
ingressClassName: {{ .Values.ingress.ingressClassName }}
22+
{{- end }}
2023
rules:
2124
{{- range .Values.ingress.hosts }}
2225
- host: {{ .host }}

values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ ingress:
289289
# - secretName: chart-example-tls
290290
# hosts:
291291
# - chart-example.test
292+
# ingressClassName: nginx-ingress
292293

293294
##
294295
## NOTE: there used to be a secrets.st2 section here. These values have moved into st2.* above. Please update your values.

0 commit comments

Comments
 (0)