From 6d7acd96772ff0d420aea831f08933517f117f23 Mon Sep 17 00:00:00 2001 From: Nicolas Bonneval Date: Thu, 3 Jun 2021 19:19:28 +0200 Subject: [PATCH] Added support for the ingressClassName field + Fixed indentation for volumePermissions.resources --- charts/matrix-synapse/templates/ingress.yaml | 3 +++ charts/matrix-synapse/templates/worker-deployment.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/matrix-synapse/templates/ingress.yaml b/charts/matrix-synapse/templates/ingress.yaml index 82bc1ff..83d0fc9 100644 --- a/charts/matrix-synapse/templates/ingress.yaml +++ b/charts/matrix-synapse/templates/ingress.yaml @@ -16,6 +16,9 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: +{{- if .Values.ingress.className }} + ingressClassName: {{ .Values.ingress.className }} +{{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} diff --git a/charts/matrix-synapse/templates/worker-deployment.yaml b/charts/matrix-synapse/templates/worker-deployment.yaml index 8dee253..9d62111 100644 --- a/charts/matrix-synapse/templates/worker-deployment.yaml +++ b/charts/matrix-synapse/templates/worker-deployment.yaml @@ -44,7 +44,7 @@ spec: imagePullPolicy: {{ $.Values.volumePermissions.pullPolicy }} securityContext: runAsUser: 0 - resources: {{ $.Values.volumePermissions.resources | toYaml | nindent 10 }} + resources: {{ $.Values.volumePermissions.resources | toYaml | nindent 12 }} volumeMounts: - name: media mountPath: /synapse/data