Skip to content

Commit d8a4072

Browse files
aogieralexmv
authored andcommitted
helm: Provide a way to set an explicit ingress class name.
1 parent c46df18 commit d8a4072

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

kubernetes/chart/zulip/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Now you're ready to follow [the installation instructions above](#installation).
7676
| image.tag | string | `"11.4-0"` | |
7777
| imagePullSecrets | list | `[]` | |
7878
| ingress.annotations | object | `{}` | |
79+
| ingress.className | string | `nil` | |
7980
| ingress.enabled | bool | `false` | |
8081
| ingress.hosts[0].host | string | `"zulip.example.com"` | |
8182
| ingress.hosts[0].paths[0].path | string | `"/"` | |

kubernetes/chart/zulip/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ metadata:
1212
{{- toYaml . | nindent 4 }}
1313
{{- end }}
1414
spec:
15+
{{- if .Values.ingress.className }}
16+
ingressClassName: {{ .Values.ingress.className }}
17+
{{- end }}
1518
{{- if .Values.ingress.tls }}
1619
tls:
1720
{{- range .Values.ingress.tls }}

kubernetes/chart/zulip/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ ingress:
9494
# - secretName: chart-example-tls
9595
# hosts:
9696
# - zulip.example.com
97+
## Provide an explicit className for the ingress
98+
className:
9799

98100
resources:
99101
{}

0 commit comments

Comments
 (0)