rbac: add vars for system namespace name
This commit is contained in:
parent
906b5546a0
commit
9bc92320b7
10 changed files with 10 additions and 10 deletions
|
@ -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:
|
||||
|
|
|
@ -10,4 +10,4 @@ roleRef:
|
|||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: calico-cni-plugin
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
|
|
@ -3,4 +3,4 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: calico-cni-plugin
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
|
|
@ -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:
|
||||
- ""
|
||||
|
|
|
@ -10,4 +10,4 @@ roleRef:
|
|||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: calico-policy-controller
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
|
|
@ -3,4 +3,4 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: calico-policy-controller
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
|
|
@ -10,5 +10,5 @@ roleRef:
|
|||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: cluster-proportional-autoscaler
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
||||
|
|
|
@ -3,4 +3,4 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: cluster-proportional-autoscaler
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
|
|
@ -10,4 +10,4 @@ roleRef:
|
|||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: kube-dns
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
|
|
@ -2,4 +2,4 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: kube-dns
|
||||
namespace: kube-system
|
||||
namespace: {{system_namespace}}
|
||||
|
|
Loading…
Reference in a new issue