Skip to content

Commit 863eb79

Browse files
committed
ingressClassName
1 parent 6068bfd commit 863eb79

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: synapse
3-
version: 0.44.1
3+
version: 0.45.0

charts/synapse/templates/admin-ingress.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ metadata:
99
annotations: {{ toYaml $annotations | nindent 4 }}
1010
{{- end }}
1111
spec:
12-
ingressClassName: nginx
12+
{{- if .Values.admin.ingress.ingressClassName }}
13+
ingressClassName: {{ .Values.admin.ingress.ingressClassName }}
14+
{{- end }}
1315
tls:
1416
- hosts:
1517
- {{ .Values.admin.ingress.serverName }}

charts/synapse/templates/matrix-authentication-ingress.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ metadata:
1010
annotations: {{ toYaml $annotations | nindent 4 }}
1111
{{- end }}
1212
spec:
13-
ingressClassName: nginx
13+
{{- if .Values.matrixAuthentication.ingress.ingressClassName }}
14+
ingressClassName: {{ .Values.matrixAuthentication.ingress.ingressClassName }}
15+
{{- end }}
1416
tls:
1517
- hosts:
1618
- {{ .Values.matrixAuthentication.ingress.host }}

charts/synapse/templates/synapse-ingress.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ metadata:
88
annotations: {{ toYaml $annotations | nindent 4 }}
99
{{- end }}
1010
spec:
11-
ingressClassName: nginx
11+
{{- if .Values.ingress.ingressClassName }}
12+
ingressClassName: {{ .Values.ingress.ingressClassName }}
13+
{{- end }}
1214
tls:
1315
- hosts:
1416
- {{ .Values.synapse.serverName }}

charts/synapse/templates/well-known-ingress.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ metadata:
88
annotations: {{ toYaml $annotations | nindent 4 }}
99
{{- end }}
1010
spec:
11-
ingressClassName: nginx
11+
{{- if .Values.wellKnown.ingress.ingressClassName }}
12+
ingressClassName: {{ .Values.wellKnown.ingress.ingressClassName }}
13+
{{- end }}
1214
tls:
1315
- hosts:
1416
- {{ .Values.synapse.serverName }}

charts/synapse/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ ingress:
312312
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
313313
nginx.ingress.kubernetes.io/proxy-read-timeout: "320"
314314
annotations: {}
315+
ingressClassName: nginx
315316
masterRoutes:
316317
- "/_matrix/"
317318
- "/_synapse/"
@@ -460,6 +461,7 @@ admin:
460461
nginx.ingress.kubernetes.io/proxy-body-size: 50m
461462
nginx.ingress.kubernetes.io/use-regex: "true"
462463
annotations: {}
464+
ingressClassName: nginx
463465
image:
464466
repository: "ghcr.io/etkecc/synapse-admin"
465467
tag: "v0.11.4-etke54"
@@ -566,6 +568,7 @@ matrixAuthentication:
566568
nginx.org/client-max-body-size: "50m"
567569
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
568570
annotations: {}
571+
ingressClassName: nginx
569572
config:
570573
clients: []
571574
database:
@@ -657,6 +660,7 @@ wellKnown:
657660
commonAnnotations:
658661
nginx.ingress.kubernetes.io/use-regex: "true"
659662
annotations: {}
663+
ingressClassName: nginx
660664
resources:
661665
requests:
662666
cpu: 20m

0 commit comments

Comments
 (0)