strato-infra/flux/cluster/apps/family/registry-creds.yaml

19 lines
425 B
YAML
Raw Permalink Normal View History

2022-05-24 09:30:35 +02:00
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: registry-creds
namespace: family
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