ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
25
services/stalwart/k8s/base/vault/delivery.yaml
Normal file
25
services/stalwart/k8s/base/vault/delivery.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata:
|
||||
name: stalwart-delivery
|
||||
namespace: stalwart
|
||||
spec:
|
||||
type: kv-v2
|
||||
mount: secret
|
||||
path: stalwart/oci-email-delivery
|
||||
refreshAfter: 1h
|
||||
destination:
|
||||
name: stalwart-delivery
|
||||
create: true
|
||||
transformation:
|
||||
excludeRaw: true
|
||||
excludes:
|
||||
- .*
|
||||
templates:
|
||||
relay_endpoint:
|
||||
text: '{{ get .Secrets "endpoint" }}'
|
||||
relay_password:
|
||||
text: '{{ get .Secrets "password" }}'
|
||||
relay_username:
|
||||
text: '{{ get .Secrets "username" }}'
|
||||
vaultAuthRef: default
|
||||
Loading…
Reference in a new issue