From 254446d6a0722baa82a51ef36919f4c9cc93902b Mon Sep 17 00:00:00 2001 From: James Hammett Date: Tue, 14 Nov 2023 09:00:19 -0700 Subject: [PATCH] allow web-specific tolerations --- templates/deployment-web.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/deployment-web.yaml b/templates/deployment-web.yaml index 420c277..2f9e86c 100644 --- a/templates/deployment-web.yaml +++ b/templates/deployment-web.yaml @@ -142,7 +142,7 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.tolerations }} + {{- with (default .Values.tolerations .Values.mastodon.web.tolerations) }} tolerations: {{- toYaml . | nindent 8 }} {{- end }}