feat: add plain zot credentials for crane
This commit is contained in:
22
gitea-runner/manifests/zot-plain-secret.yaml
Normal file
22
gitea-runner/manifests/zot-plain-secret.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: zot-registry-credentials-plain
|
||||
namespace: gitea
|
||||
spec:
|
||||
refreshInterval: 1h
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: vault-backend
|
||||
target:
|
||||
name: zot-registry-credentials-plain
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: username
|
||||
remoteRef:
|
||||
key: zot
|
||||
property: USERNAME
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: zot
|
||||
property: PASSWORD
|
||||
Reference in New Issue
Block a user