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