From 3357d33502d934eccc8323026042fd5de611787a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 23 Jan 2026 03:20:01 +0000 Subject: [PATCH] Fix zot OIDC configuration to use proper format Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com> --- examples/kind/kind-oidc.sh | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/examples/kind/kind-oidc.sh b/examples/kind/kind-oidc.sh index 67e56daa..0a26d161 100755 --- a/examples/kind/kind-oidc.sh +++ b/examples/kind/kind-oidc.sh @@ -189,8 +189,19 @@ COMMIT_HASH=$(git describe --always --tags --long) echo "Deploying zot-build:${COMMIT_HASH} image to local registry" skopeo copy --format=oci --dest-tls-verify=false oci:oci docker://localhost:5001/zot-build:${COMMIT_HASH} -# Create ConfigMap with zot OIDC configuration -kubectl --context kind-kind-oidc create configmap zot-oidc-config --from-literal=config.json=' +# Create a temporary directory for zot config and credentials +mkdir -p /tmp/kind-oidc/zot-config + +# Create the credentials file for zot +cat > /tmp/kind-oidc/zot-config/dex-credentials.json < /tmp/kind-oidc/zot-config/config.json <