theshire/kubernetes/apps/dragonfly-operator-system/dragonfly-operator/app/rbac.yaml

231 lines
5.2 KiB
YAML
Raw Permalink Normal View History

---
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/instance: controller-manager-sa
app.kubernetes.io/name: serviceaccount
app.kubernetes.io/part-of: dragonfly-operator
name: dragonfly-operator-controller-manager
namespace: dragonfly-operator-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/instance: leader-election-role
app.kubernetes.io/name: role
app.kubernetes.io/part-of: dragonfly-operator
name: dragonfly-operator-leader-election-role
namespace: dragonfly-operator-system
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: dragonfly-operator-manager-role
rules:
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- ""
resources:
- pods
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- dragonflydb.io
resources:
- dragonflies
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- dragonflydb.io
resources:
- dragonflies/finalizers
verbs:
- update
- apiGroups:
- dragonflydb.io
resources:
- dragonflies/status
verbs:
- get
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/instance: metrics-reader
app.kubernetes.io/name: clusterrole
app.kubernetes.io/part-of: dragonfly-operator
name: dragonfly-operator-metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/instance: proxy-role
app.kubernetes.io/name: clusterrole
app.kubernetes.io/part-of: dragonfly-operator
name: dragonfly-operator-proxy-role
rules:
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/instance: leader-election-rolebinding
app.kubernetes.io/name: rolebinding
app.kubernetes.io/part-of: dragonfly-operator
name: dragonfly-operator-leader-election-rolebinding
namespace: dragonfly-operator-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: dragonfly-operator-leader-election-role
subjects:
- kind: ServiceAccount
name: dragonfly-operator-controller-manager
namespace: dragonfly-operator-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/instance: manager-rolebinding
app.kubernetes.io/name: clusterrolebinding
app.kubernetes.io/part-of: dragonfly-operator
name: dragonfly-operator-manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: dragonfly-operator-manager-role
subjects:
- kind: ServiceAccount
name: dragonfly-operator-controller-manager
namespace: dragonfly-operator-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: dragonfly-operator
app.kubernetes.io/instance: proxy-rolebinding
app.kubernetes.io/name: clusterrolebinding
app.kubernetes.io/part-of: dragonfly-operator
name: dragonfly-operator-proxy-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: dragonfly-operator-proxy-role
subjects:
- kind: ServiceAccount
name: dragonfly-operator-controller-manager
namespace: dragonfly-operator-system