This commit is contained in:
j37hr0 2026-03-29 20:50:54 +13:00
parent 6f4fc355ba
commit fe43c1be02
2 changed files with 40 additions and 9 deletions

View file

@ -2,27 +2,26 @@ apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: contabo-secrets
namespace: backups
namespace: velero
spec:
refreshInterval: 1h
secretStoreRef:
name: bitwarden
kind: ClusterSecretStore
target:
name: contabo-secrets
creationPolicy: Owner
template:
engineVersion: v2
mergePolicy: Merge
data:
cloud: |
[default]
aws_access_key_id={{ .contabo-client-id }}
aws_secret_access_key={{ .contabo-client-secret }}
data:
- secretKey: contabo-username
remoteRef:
key: contabo-username
- secretKey: contabo-password
remoteRef:
key: contabo-password
- secretKey: contabo-client-id
remoteRef:
key: contabo-client-id

View file

@ -0,0 +1,32 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: contabo-secrets
namespace: backups
spec:
refreshInterval: 1h
secretStoreRef:
name: bitwarden
kind: ClusterSecretStore
target:
name: contabo-secrets
creationPolicy: Owner
template:
engineVersion: v2
mergePolicy: Merge
data:
- secretKey: contabo-username
remoteRef:
key: contabo-username
- secretKey: contabo-password
remoteRef:
key: contabo-password
- secretKey: contabo-client-id
remoteRef:
key: contabo-client-id
- secretKey: contabo-client-secret
remoteRef:
key: contabo-client-secret