mirror of
https://github.com/Danny-de-bree/fullstaq-operator.git
synced 2026-08-28 00:17:14 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: k8s-operator
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: k8s-operator-operator-cluster-role
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["pods", "events"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: k8s-operator-cluster-role-binding
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: k8s-operator-svc-account
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: k8s-operator-cluster-role
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
Reference in New Issue
Block a user