Add Gmail SMTP config to Docuseal via Vault ExternalSecret
This commit is contained in:
@@ -26,6 +26,31 @@ spec:
|
||||
key: secret_key_base
|
||||
- name: FORCE_SSL
|
||||
value: "false"
|
||||
- name: SMTP_ADDRESS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: docuseal-secrets
|
||||
key: smtp_host
|
||||
- name: SMTP_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: docuseal-secrets
|
||||
key: smtp_port
|
||||
- name: SMTP_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: docuseal-secrets
|
||||
key: smtp_username
|
||||
- name: SMTP_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: docuseal-secrets
|
||||
key: smtp_password
|
||||
- name: SMTP_FROM
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: docuseal-secrets
|
||||
key: smtp_from
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
|
||||
@@ -16,3 +16,23 @@ spec:
|
||||
remoteRef:
|
||||
key: secret/data/docuseal
|
||||
property: secret_key_base
|
||||
- secretKey: smtp_host
|
||||
remoteRef:
|
||||
key: secret/data/docuseal
|
||||
property: smtp_host
|
||||
- secretKey: smtp_port
|
||||
remoteRef:
|
||||
key: secret/data/docuseal
|
||||
property: smtp_port
|
||||
- secretKey: smtp_username
|
||||
remoteRef:
|
||||
key: secret/data/docuseal
|
||||
property: smtp_username
|
||||
- secretKey: smtp_password
|
||||
remoteRef:
|
||||
key: secret/data/docuseal
|
||||
property: smtp_password
|
||||
- secretKey: smtp_from
|
||||
remoteRef:
|
||||
key: secret/data/docuseal
|
||||
property: smtp_from
|
||||
|
||||
Reference in New Issue
Block a user