Skip to content

Commit 4e640df

Browse files
authored
Add ingressClassName option to ingress
1 parent 25b1340 commit 4e640df

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/helm-chart/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ metadata:
1818
{{- toYaml . | nindent 4 }}
1919
{{- end }}
2020
spec:
21+
{{- if .Values.ingress.ingressClassName }}
22+
ingressClassName: {{ .Values.ingress.ingressClassName }}
23+
{{- end }}
2124
{{- if .Values.ingress.tls }}
2225
tls:
2326
{{- range .Values.ingress.tls }}

ci/helm-chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ingress:
4141
# - host: code-server.example.loc
4242
# paths:
4343
# - /
44-
44+
#ingressClassName: nginx
4545
#tls:
4646
# - secretName: code-server
4747
# hosts:

0 commit comments

Comments
 (0)