- argocd: zot → storage/zot, github → platform/github, gitea → platform/gitea - gitea-runner: gitea → platform/gitea, zot → storage/zot - tekton: tekton → platform/tekton, zot → storage/zot Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
753 B
YAML
28 lines
753 B
YAML
apiVersion: external-secrets.io/v1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: zot-registry-credentials
|
|
namespace: tekton-pipelines
|
|
spec:
|
|
refreshInterval: 1h
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: vault-backend
|
|
target:
|
|
name: zot-registry-credentials
|
|
creationPolicy: Owner
|
|
template:
|
|
type: kubernetes.io/dockerconfigjson
|
|
data:
|
|
.dockerconfigjson: |
|
|
{"auths":{"zot0213.kro.kr":{"username":"{{ .USERNAME }}","password":"{{ .PASSWORD }}","auth":"{{ printf "%s:%s" .USERNAME .PASSWORD | b64enc }}"}}}
|
|
data:
|
|
- secretKey: USERNAME
|
|
remoteRef:
|
|
key: storage/zot
|
|
property: USERNAME
|
|
- secretKey: PASSWORD
|
|
remoteRef:
|
|
key: storage/zot
|
|
property: PASSWORD
|