From d6469aea69ec98d773de22c848cff02a7e68fa4b Mon Sep 17 00:00:00 2001 From: OpenShift Cherrypick Robot Date: Tue, 25 Feb 2025 18:15:53 +0100 Subject: [PATCH] [redhat-3.11] adding verify false to mirror check (PROJQUAY-8577) (#1025) * adding verify false to mirror check * disabling allow_redirects --------- Co-authored-by: bcaton --- 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 c76aed2f5..7c87e19d3 100644 --- a/kustomize/components/mirror/mirror.deployment.yaml +++ b/kustomize/components/mirror/mirror.deployment.yaml @@ -55,7 +55,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) 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)