3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 19:02:44 +00:00

Fix container create error on unauthenticated SMTP (#49)

This commit is contained in:
Alexander "Ananace" Olofsson 2024-04-18 16:12:36 +02:00 committed by GitHub
parent 6c902dccac
commit d6d3f428a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,6 +142,7 @@ spec:
secretKeyRef: secretKeyRef:
name: {{ include "mastodon.smtp.secretName" $context }} name: {{ include "mastodon.smtp.secretName" $context }}
key: password key: password
optional: true
{{- if (and $context.Values.mastodon.s3.enabled $context.Values.mastodon.s3.existingSecret) }} {{- if (and $context.Values.mastodon.s3.enabled $context.Values.mastodon.s3.existingSecret) }}
- name: "AWS_SECRET_ACCESS_KEY" - name: "AWS_SECRET_ACCESS_KEY"
valueFrom: valueFrom: