Skip to content
Snippets Groups Projects
Commit 5e84dabb authored by Maxim Snezhkov's avatar Maxim Snezhkov Committed by Kubernetes Prow Robot
Browse files

Fix assertion for alone etcd nodes (#3847)

parent 3e8f4c15
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment