22 lines
576 B
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
|