Skip to content

Commit

Permalink
fix: fixed encoding of relayuser and relaypassword
Browse files Browse the repository at this point in the history
Signed-off-by: fastlorenzo <git@bernardi.be>
  • Loading branch information
fastlorenzo committed Apr 19, 2023
1 parent 3cc8813 commit 0209240
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mailu/templates/_secrets.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
name: {{ include "mailu.database.roundcube.secretName" . }}
key: {{ include "mailu.database.roundcube.secretKey" . }}
{{- end }}
{{- if and .Values.externalRelay.host (not .Values.externalRelay.existingSecret) }}
{{- if .Values.externalRelay.host }}
- name: RELAYUSER
valueFrom:
secretKeyRef:
Expand Down
4 changes: 2 additions & 2 deletions mailu/templates/secret-external-relay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ metadata:
{{- end }}
type: Opaque
data:
{{ .Values.externalRelay.usernameKey -}}: {{ (include "mailu.externalRelay.username" . ) | toString | b64enc | quote }}
{{ .Values.externalRelay.passwordKey -}}: {{ (include "mailu.externalRelay.password" . ) | toString | b64enc | quote }}
{{ .Values.externalRelay.usernameKey -}}: {{ (include "mailu.externalRelay.username" . ) }}
{{ .Values.externalRelay.passwordKey -}}: {{ (include "mailu.externalRelay.password" . ) }}
{{- end }}

0 comments on commit 0209240

Please # to comment.