kube-cascade/longhorn/longhorn-backups-user-minio.yaml

26 lines
636 B
YAML
Raw Normal View History

2023-12-20 22:40:16 +00:00
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: "longhorn-backups-user-minio"
namespace: "longhorn-system"
spec:
refreshInterval: "30s"
secretStoreRef:
name: bitwarden
kind: ClusterSecretStore
target:
name: "longhorn-backups-user-minio"
data:
- secretKey: AWS_ACCESS_KEY_ID
remoteRef:
key: "longhorn-backups on minio"
property: access-key
- secretKey: AWS_SECRET_ACCESS_KEY
remoteRef:
key: "longhorn-backups on minio"
property: secret-key
- secretKey: AWS_ENDPOINTS
remoteRef:
key: "longhorn-backups on minio"
property: endpoint