Skip to content

Commit

Permalink
adding verify false to mirror check (PROJQUAY-8577) (#1017)
Browse files Browse the repository at this point in the history
Setting verify and allow_redirects to false in the mirror init check
  • Loading branch information
bcaton85 authored Feb 14, 2025
1 parent ab514ba commit d84a9bf
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 @@ -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) 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 d84a9bf

Please sign in to comment.