Skip to content
Snippets Groups Projects
Verified Commit d136e364 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(mastodon): Fix base64 encoding in secret

parent b24ec8cf
No related branches found
No related tags found
No related merge requests found
......@@ -41,16 +41,19 @@ data:
{{- end }}
{{- end }}
{{- if .Values.externalAuth.oidc.enabled }}
OIDC_CLIENT_SECRET: {{ .Values.externalAuth.oidc.client_secret }}
OIDC_CLIENT_SECRET: {{ .Values.externalAuth.oidc.client_secret | b64enc }}
{{- end }}
{{- if .Values.externalAuth.saml.enabled }}
{{- with .Values.externalAuth.saml.private_key }}
SAML_PRIVATE_KEY: {{ . | quote }}
SAML_PRIVATE_KEY: {{ . | b64enc | quote }}
{{- end }}
{{- end }}
{{- if .Values.externalAuth.ldap.enabled }}
{{- with .Values.externalAuth.ldap.password }}
LDAP_PASSWORD: {{ . }}
LDAP_PASSWORD: {{ . | b64enc }}
{{- end }}
{{- end }}
{{- with .Values.mastodon.smtp.password }}
SMTP_PASSWORD: {{ . | b64enc }}
{{- end }}
{{- end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment