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 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: calico
namespace: {{ system_namespace }}
namespace: kube-system
rules:
- apiGroups: [""]
resources:

View File

@@ -11,4 +11,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: canal
namespace: {{ system_namespace }}
namespace: kube-system

View File

@@ -11,4 +11,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: canal
namespace: {{ system_namespace }}
namespace: kube-system

View File

@@ -3,7 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: canal
namespace: {{ system_namespace }}
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"

View File

@@ -3,7 +3,7 @@ kind: DaemonSet
apiVersion: extensions/v1beta1
metadata:
name: canal-node
namespace: {{ system_namespace }}
namespace: kube-system
labels:
k8s-app: canal-node
spec: