1
0
Fork 0
home-stack-kustomize/kustomize/bases/longhorn/longhorn-externalsecret.yaml

22 lines
576 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: s3-backupstore-credentials
namespace: longhorn-system
spec:
secretStoreRef:
name: aws-parameters-store
kind: ClusterSecretStore
target:
name: s3-backupstore-credentials
data:
- secretKey: AWS_ACCESS_KEY_ID
remoteRef:
key: /k3s/prod/longhorn/s3_access_key_id
- secretKey: AWS_SECRET_ACCESS_KEY
remoteRef:
key: /k3s/prod/longhorn/s3_secret_access_key
- secretKey: AWS_ENDPOINTS
remoteRef:
key: /k3s/prod/longhorn/s3_endpoint