strato-infra/flux/cluster/apps/drone/registry-creds.yaml
2022-05-23 23:27:50 +02:00

19 lines
424 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: registry-creds
namespace: drone
spec:
refreshInterval: "5m"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: registry-creds
template:
type: kubernetes.io/dockerconfigjson
data:
- secretKey: .dockerconfigjson
remoteRef:
key: k8s/registry-creds
property: dockerconfigjson