rbac: add vars for system namespace name

This commit is contained in:
Boris Zanetti 2017-04-21 10:09:10 +02:00 committed by nhaveric
parent 906b5546a0
commit 9bc92320b7
10 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
metadata: metadata:
name: calico-cni-plugin name: calico-cni-plugin
namespace: kube-system namespace: {{system_namespace}}
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: resources:

View file

@ -10,4 +10,4 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: calico-cni-plugin name: calico-cni-plugin
namespace: kube-system namespace: {{system_namespace}}

View file

@ -3,4 +3,4 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: calico-cni-plugin name: calico-cni-plugin
namespace: kube-system namespace: {{system_namespace}}

View file

@ -3,7 +3,7 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
metadata: metadata:
name: calico-policy-controller name: calico-policy-controller
namespace: kube-system namespace: {{system_namespace}}
rules: rules:
- apiGroups: - apiGroups:
- "" - ""

View file

@ -10,4 +10,4 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: calico-policy-controller name: calico-policy-controller
namespace: kube-system namespace: {{system_namespace}}

View file

@ -3,4 +3,4 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: calico-policy-controller name: calico-policy-controller
namespace: kube-system namespace: {{system_namespace}}

View file

@ -10,5 +10,5 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: cluster-proportional-autoscaler name: cluster-proportional-autoscaler
namespace: kube-system namespace: {{system_namespace}}

View file

@ -3,4 +3,4 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: cluster-proportional-autoscaler name: cluster-proportional-autoscaler
namespace: kube-system namespace: {{system_namespace}}

View file

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

View file

@ -2,4 +2,4 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: kube-dns name: kube-dns
namespace: kube-system namespace: {{system_namespace}}