Skip to content
Snippets Groups Projects
Commit 4b0af73d authored by Spencer Smith's avatar Spencer Smith Committed by GitHub
Browse files

Merge pull request #1332 from gstorme/kube_apiserver_insecure_port

Use the kube_apiserver_insecure_port variable instead of static 8080
parents da72b8c3 266ca931
No related branches found
No related tags found
No related merge requests found
---
- name: Kubernetes Apps | Wait for kube-apiserver
uri:
url: http://localhost:8080/healthz
url: http://localhost:{{ kube_apiserver_insecure_port }}/healthz
register: result
until: result.status == 200
retries: 10
......
......@@ -39,7 +39,7 @@
- name: Master | wait for the apiserver to be running
uri:
url: http://localhost:8080/healthz
url: http://localhost:{{ kube_apiserver_insecure_port }}/healthz
register: result
until: result.status == 200
retries: 20
......
......@@ -92,7 +92,7 @@ spec:
httpGet:
host: 127.0.0.1
path: /healthz
port: 8080
port: {{ kube_apiserver_insecure_port }}
initialDelaySeconds: 30
timeoutSeconds: 10
volumeMounts:
......@@ -124,4 +124,4 @@ spec:
- hostPath:
path: /etc/ssl/certs/ca-bundle.crt
name: rhel-ca-bundle
{% endif %}
\ No newline at end of file
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment