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