Added support for the ingressClassName field

+ Fixed indentation for volumePermissions.resources
This commit is contained in:
Nicolas Bonneval 2021-06-03 19:19:28 +02:00
parent af847c473e
commit 6d7acd9677
2 changed files with 4 additions and 1 deletions

View file

@ -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 }}

View file

@ -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