postgres: configure backups
This commit is contained in:
25
postgres/config/s3-backup-auth.yaml
Normal file
25
postgres/config/s3-backup-auth.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: s3-backup-creds
|
||||
spec:
|
||||
data:
|
||||
- remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: cloudnativepg
|
||||
metadataPolicy: None
|
||||
property: s3_backup_key
|
||||
secretKey: s3SecretKey
|
||||
refreshInterval: 1h
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: weyma-vault
|
||||
target:
|
||||
template:
|
||||
data:
|
||||
s3AccessKey: fmRuq5b96EKqQOGR1prs
|
||||
s3SecretKey: "{{ .s3SecretKey }}"
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
name: s3-backup-creds
|
||||
Reference in New Issue
Block a user