Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.7] service catalog: Update API healthz check to use uri module and add noproxy #7283

Merged
merged 2 commits into from
Mar 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 9 additions & 9 deletions roles/openshift_service_catalog/tasks/start_api_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

# wait to see that the apiserver is available
- name: wait for api server to be ready
command: >
curl -k https://apiserver.kube-service-catalog.svc/healthz
args:
# Disables the following warning:
# Consider using get_url or uri module rather than running curl
warn: no
uri:
url: https://apiserver.kube-service-catalog.svc/healthz
validate_certs: no
return_content: yes
environment:
no_proxy: '*'
register: api_health
until: api_health.stdout == 'ok'
retries: 120
delay: 1
until: "'ok' in api_health.content"
retries: 60
delay: 5
changed_when: false