From e22daadffcbf84ad129ea768cddcc722de04ed63 Mon Sep 17 00:00:00 2001 From: bcaton Date: Fri, 14 Feb 2025 11:09:06 -0500 Subject: [PATCH] disabling allow_redirects --- kustomize/components/mirror/mirror.deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kustomize/components/mirror/mirror.deployment.yaml b/kustomize/components/mirror/mirror.deployment.yaml index 010abdc39..98f3f01f0 100644 --- a/kustomize/components/mirror/mirror.deployment.yaml +++ b/kustomize/components/mirror/mirror.deployment.yaml @@ -67,7 +67,7 @@ spec: command: - sh - -c - - python -c "import os, requests, sys; host = os.getenv(\"QUAY_APP_SERVICE_HOST\"); sys.exit(0) if requests.get(\"http://\"+host, verify=False) else sys.exit(1);" + - python -c "import os, requests, sys; host = os.getenv(\"QUAY_APP_SERVICE_HOST\"); sys.exit(0) if requests.get(\"http://\"+host, verify=False, allow_redirects=False) else sys.exit(1);" env: - name: QUAY_APP_SERVICE_HOST value: $(QUAY_APP_SERVICE_HOST)