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
metadata:
name: calico-cni-plugin
namespace: kube-system
namespace: {{system_namespace}}
rules:
- apiGroups: [""]
resources:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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