Skip to content

Commit

Permalink
Merge pull request #7283 from vrutkovs/3.7-service-catalog-no-proxy
Browse files Browse the repository at this point in the history
[3.7] service catalog: Update API healthz check to use uri module and add noproxy
  • Loading branch information
sdodson committed Mar 25, 2018
2 parents b7529d8 + 7ec4aec commit 250151f
Showing 1 changed file with 9 additions and 9 deletions.
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

0 comments on commit 250151f

Please sign in to comment.