Revert "Support for disabling apiserver insecure port" (#1974)

This commit is contained in:
Matthew Mosesohn
2017-11-14 13:41:28 +00:00
committed by GitHub
parent c7910b51a1
commit f9b68a5d17
6 changed files with 6 additions and 31 deletions

View File

@@ -78,9 +78,3 @@
that: ansible_swaptotal_mb == 0
when: kubelet_fail_swap_on|default(true)
ignore_errors: "{{ ignore_assert_errors }}"
- name: Stop if RBAC and anonymous-auth are not enabled when insecure port is disabled
assert:
that: rbac_enabled and kube_api_anonymous_auth
when: kube_apiserver_insecure_port == 0
ignore_errors: "{{ ignore_assert_errors }}"