2022-05-23 00:35:39 +02:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: registry-creds
|
2022-05-24 12:38:44 +02:00
|
|
|
namespace: misc
|
2022-05-23 00:35:39 +02:00
|
|
|
spec:
|
|
|
|
refreshInterval: "5m"
|
|
|
|
secretStoreRef:
|
|
|
|
name: vault
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
target:
|
|
|
|
name: registry-creds
|
|
|
|
template:
|
|
|
|
type: kubernetes.io/dockerconfigjson
|
|
|
|
data:
|
|
|
|
- secretKey: .dockerconfigjson
|
|
|
|
remoteRef:
|
2022-05-23 12:26:47 +02:00
|
|
|
key: k8s/registry-creds
|
2022-05-23 00:35:39 +02:00
|
|
|
property: dockerconfigjson
|