Stop templating kube-system namespace and creating it (#2545)

Kubernetes makes this namespace automatically, so there is
no need for kubespray to manage it.
This commit is contained in:
Matthew Mosesohn
2018-03-30 14:29:13 +03:00
committed by GitHub
parent f619eb08b1
commit 03bcfa7ff5
91 changed files with 122 additions and 159 deletions

View File

@@ -3,7 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: flannel
namespace: "{{system_namespace}}"
namespace: "kube-system"
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
@@ -41,4 +41,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: flannel
namespace: "{{system_namespace}}"
namespace: "kube-system"