Added support for the ingressClassName field
+ Fixed indentation for volumePermissions.resources
This commit is contained in:
parent
af847c473e
commit
6d7acd9677
2 changed files with 4 additions and 1 deletions
|
@ -16,6 +16,9 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.ingress.className }}
|
||||||
|
ingressClassName: {{ .Values.ingress.className }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.ingress.tls }}
|
{{- if .Values.ingress.tls }}
|
||||||
tls:
|
tls:
|
||||||
{{- range .Values.ingress.tls }}
|
{{- range .Values.ingress.tls }}
|
||||||
|
|
|
@ -44,7 +44,7 @@ spec:
|
||||||
imagePullPolicy: {{ $.Values.volumePermissions.pullPolicy }}
|
imagePullPolicy: {{ $.Values.volumePermissions.pullPolicy }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
resources: {{ $.Values.volumePermissions.resources | toYaml | nindent 10 }}
|
resources: {{ $.Values.volumePermissions.resources | toYaml | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: media
|
- name: media
|
||||||
mountPath: /synapse/data
|
mountPath: /synapse/data
|
||||||
|
|
Loading…
Reference in a new issue