fixin
This commit is contained in:
parent
8df9ac0b63
commit
90aad36e4d
@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
resources:
|
||||
- rbac.yaml
|
||||
- cilium.yaml
|
||||
|
||||
|
||||
24
components/networking/controllers/base/cilium/rbac.yaml
Normal file
24
components/networking/controllers/base/cilium/rbac.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: networking
|
||||
toolkit.fluxcd.io/tenant: platform-team
|
||||
name: flux-security
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: flux
|
||||
namespace: kube-system
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: flux
|
||||
namespace: kube-system
|
||||
labels:
|
||||
app.kubernetes.io/component: networking
|
||||
toolkit.fluxcd.io/tenant: platform-team
|
||||
Loading…
Reference in New Issue
Block a user