Add access to my registry
This commit is contained in:
parent
a1c4f17f3f
commit
dc3c47af8e
|
@ -5,3 +5,4 @@ resources:
|
|||
- gotk-sync.yaml
|
||||
- notifications.yaml
|
||||
- charts
|
||||
- registry-creds.yaml
|
19
flux/cluster/base/flux-system/registry-creds.yaml
Normal file
19
flux/cluster/base/flux-system/registry-creds.yaml
Normal 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
|
Loading…
Reference in a new issue