Fix kube-apiserver status checks when changing insecure bind addr (#1633)

This commit is contained in:
Matthew Mosesohn
2017-09-09 23:41:48 +03:00
committed by GitHub
parent 0f231f0e76
commit 75b13caf0b
4 changed files with 7 additions and 2 deletions

View File

@@ -32,6 +32,10 @@
{%- endif -%}
{%- endif %}
- set_fact:
kube_apiserver_insecure_endpoint: >-
http://{{ kube_apiserver_insecure_bind_address | regex_replace('0\.0\.0\.0','127.0.0.1') }}:{{ kube_apiserver_insecure_port }}
- set_fact:
etcd_address: "{{ ip | default(ansible_default_ipv4['address']) }}"