浏览代码

Use curl --noproxy option for internal apiserver access

Takayoshi Kimura 7 年之前
父节点
当前提交
a5289b2c46
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_service_catalog/tasks/start_api_server.yml

+ 1 - 1
roles/openshift_service_catalog/tasks/start_api_server.yml

@@ -10,7 +10,7 @@
 # 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
+    curl --noproxy '*' -k https://apiserver.kube-service-catalog.svc/healthz
   args:
     # Disables the following warning:
     # Consider using get_url or uri module rather than running curl