34 lines
703 B
YAML
34 lines
703 B
YAML
|
apiVersion: external-secrets.io/v1beta1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: cdn-secrets
|
||
|
namespace: cdn
|
||
|
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
|