From cb2b2ec1cdc442d209ed94e972580eaaaf5a2f9b Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Thu, 11 Dec 2025 17:22:16 -0300 Subject: [PATCH] zot: revert to unauthenticated registry --- services/zot/configmap.yaml | 20 +------------------- services/zot/deployment.yaml | 7 ------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/services/zot/configmap.yaml b/services/zot/configmap.yaml index 0261fc1..d4fe544 100644 --- a/services/zot/configmap.yaml +++ b/services/zot/configmap.yaml @@ -18,25 +18,7 @@ data: "address": "0.0.0.0", "port": "5000", "realm": "zot-registry", - "compat": ["docker2s2"], - "auth": { - "htpasswd": { "path": "/etc/zot/htpasswd" } - }, - "accessControl": { - "repositories": { - "**": { - "policies": [ - { "users": ["bstein"], "actions": ["read", "create", "update", "delete"] } - ], - "defaultPolicy": [], - "anonymousPolicy": [] - } - }, - "adminPolicy": { - "users": ["bstein"], - "actions": ["read", "create", "update", "delete"] - } - } + "compat": ["docker2s2"] }, "log": { "level": "info" }, "extensions": { diff --git a/services/zot/deployment.yaml b/services/zot/deployment.yaml index e4fdc1f..45fca5e 100644 --- a/services/zot/deployment.yaml +++ b/services/zot/deployment.yaml @@ -42,10 +42,6 @@ spec: mountPath: /etc/zot/config.json subPath: config.json readOnly: true - - name: htpasswd - mountPath: /etc/zot/htpasswd - subPath: htpasswd - readOnly: true - name: zot-data mountPath: /var/lib/registry readinessProbe: @@ -64,9 +60,6 @@ spec: - name: cfg configMap: name: zot-config - - name: htpasswd - secret: - secretName: zot-htpasswd - name: zot-data persistentVolumeClaim: claimName: zot-data