Skip to content

Commit

Permalink
disabling allow_redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaton85 committed Feb 14, 2025
1 parent 72e74e8 commit e22daad
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, 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)
Expand Down

0 comments on commit e22daad

Please sign in to comment.