Add access to my registry

This commit is contained in:
Julius 2022-05-23 00:14:37 +02:00
parent a1c4f17f3f
commit dc3c47af8e
Signed by: j00lz
GPG key ID: AF241B0AA237BBA2
2 changed files with 20 additions and 0 deletions

View file

@ -5,3 +5,4 @@ resources:
- gotk-sync.yaml - gotk-sync.yaml
- notifications.yaml - notifications.yaml
- charts - charts
- registry-creds.yaml

View file

@ -0,0 +1,19 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: registry-creds
namespace: flux-system
spec:
refreshInterval: "5m"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: registry-creds
template:
type: kubernetes.io/dockerconfigjson
data:
- secretKey: .dockerconfigjson
remoteRef:
key: registry-creds
property: dockerconfigjson