strato-infra/flux/cluster/apps/misc/cdn-control/secret.yaml
2022-05-24 22:54:29 +02:00

34 lines
704 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: cdn-secrets
namespace: misc
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: cdn-secrets
data:
- secretKey: access-key
remoteRef:
key: k8s/cdn
property: access-key
- secretKey: secret-key
remoteRef:
key: k8s/cdn
property: secret-key
- secretKey: endpoint
remoteRef:
key: k8s/cdn
property: endpoint
- secretKey: base-path
remoteRef:
key: k8s/cdn
property: base-path
- secretKey: bucket
remoteRef:
key: k8s/cdn
property: bucket