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

27 lines
702 B
YAML
Raw Normal View History

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
template:
metadata:
labels:
app.kubernetes.io/managed-by: external-secret
annotations: {}
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