Skip to content

Commit

Permalink
[redhat-3.11] adding verify false to mirror check (PROJQUAY-8577) (#1025
Browse files Browse the repository at this point in the history
)

* adding verify false to mirror check

* disabling allow_redirects

---------

Co-authored-by: bcaton <[email protected]>
  • Loading branch information
openshift-cherrypick-robot and bcaton85 authored Feb 25, 2025
1 parent aa7693a commit d6469ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kustomize/components/mirror/mirror.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d6469ae

Please sign in to comment.