k8s/infrastructure/velero/contabosecret.yaml

24 lines
876 B
YAML

apiVersion: k8s.bitwarden.com/v1
kind: BitwardenSecret
metadata:
name: contabo-s3-creds
namespace: backups
spec:
secretName: contabo-s3-creds
organizationId: 0df293ad-6afb-4d0b-b3ff-b41000581de5
# This references infrastructure/bitwarden/bitwardenaccesstoken.enc.yaml.
# The auth token secret must exist in the same namespace as this BitwardenSecret.
authToken:
secretName: bitwarden-access-token
secretKey: token
useSecretNames: false
onlyMappedSecrets: true
map:
- bwSecretId: cd2d61e8-2e6e-46e8-870e-b410005a2e1e
secretKeyName: AWS_ACCESS_KEY_ID
- bwSecretId: 17195fbc-89e9-45be-a3ab-b410005a4a5d
secretKeyName: AWS_SECRET_ACCESS_KEY
- bwSecretId: 3b71b5f9-0ce3-4036-8096-b4100059cc75
secretKeyName: CONTABO_CLIENT_ID
- bwSecretId: e88eabb8-36bd-4f4d-b0c7-b410005a0d61
secretKeyName: CONTABO_CLIENT_SECRET