Move cluster roles and system namespace to new role

This should be done after kubeconfig is set for admin and
before network plugins are up.
This commit is contained in:
Matthew Mosesohn
2017-10-26 09:10:33 +01:00
parent 86fb669fd3
commit ec53b8b66a
10 changed files with 64 additions and 48 deletions

View File

@@ -68,6 +68,8 @@
roles:
- { role: kubespray-defaults}
- { role: kubernetes/master, tags: master }
- { role: kubernetes/client, tags: client }
- { role: kubernetes-apps/cluster_roles, tags: cluster-roles }
- hosts: k8s-cluster
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
@@ -83,7 +85,6 @@
- { role: kubernetes-apps/rotate_tokens, tags: rotate_tokens, when: "secret_changed|default(false)" }
- { role: kubernetes-apps/network_plugin, tags: network }
- { role: kubernetes-apps/policy_controller, tags: policy-controller }
- { role: kubernetes/client, tags: client }
- hosts: calico-rr
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"