Remove duplicate zot-creds.yaml ExternalSecret
The zot-registry-credentials ExternalSecret was defined twice in argocd namespace, causing ArgoCD duplicate resource warning. The image-updater-secret.yaml already has the correct definition with the new Vault path (storage/zot). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: zot-registry-credentials
|
||||
namespace: argocd
|
||||
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: zot
|
||||
property: USERNAME
|
||||
- secretKey: PASSWORD
|
||||
remoteRef:
|
||||
key: zot
|
||||
property: PASSWORD
|
||||
@@ -132,7 +132,7 @@ spec:
|
||||
containers:
|
||||
- resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
memory: "128Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
|
||||
Reference in New Issue
Block a user