Skip to content

Commit f97c296

Browse files
committed
add wellKnown-deploymet tolerations
1 parent 0b155d4 commit f97c296

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ spec:
4343
mountPath: /usr/share/nginx/html/.well-known/matrix/openid-configuration
4444
{{- end }}
4545
terminationGracePeriodSeconds: 10
46+
{{- if .Values.wellKnown.nodeSelector }}
47+
nodeSelector:
48+
{{ toYaml .Values.wellKnown.nodeSelector | nindent 8 }}
49+
{{- end }}
50+
{{- if .Values.wellKnown.tolerations }}
51+
tolerations:
52+
{{ toYaml .Values.wellKnown.tolerations | nindent 8 }}
53+
{{- end }}
54+
{{- if .Values.wellKnown.affinity }}
55+
affinity:
56+
{{ toYaml .Values.wellKnown.affinity | nindent 8 }}
57+
{{- end }}
4658
volumes:
4759
- name: well-known-config
4860
configMap:

0 commit comments

Comments
 (0)