Fix assertion for alone etcd nodes (#3847)

pull/3889/head
Maxim Snezhkov 2018-12-12 20:21:54 +07:00 committed by Kubernetes Prow Robot
parent 3e8f4c1545
commit 5e84dabb46
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
- name: Stop if RBAC and anonymous-auth are not enabled when insecure port is disabled - name: Stop if RBAC and anonymous-auth are not enabled when insecure port is disabled
assert: assert:
that: rbac_enabled and kube_api_anonymous_auth that: rbac_enabled and kube_api_anonymous_auth
when: kube_apiserver_insecure_port == 0 when: kube_apiserver_insecure_port == 0 and inventory_hostname in groups['kube-master']
ignore_errors: "{{ ignore_assert_errors }}" ignore_errors: "{{ ignore_assert_errors }}"
- name: Stop if kernel version is too low - name: Stop if kernel version is too low