2019-10-28 09:35:30 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2019-11-19 11:29:15 +00:00
|
|
|
kind: Role
|
2019-10-28 09:35:30 +00:00
|
|
|
metadata:
|
2019-11-19 11:29:15 +00:00
|
|
|
creationTimestamp: null
|
2019-10-28 09:35:30 +00:00
|
|
|
name: seaweedfs-operator
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- pods
|
|
|
|
- services
|
|
|
|
- services/finalizers
|
|
|
|
- endpoints
|
|
|
|
- persistentvolumeclaims
|
|
|
|
- events
|
|
|
|
- configmaps
|
|
|
|
- secrets
|
|
|
|
verbs:
|
2019-11-19 11:29:15 +00:00
|
|
|
- '*'
|
2019-10-28 09:35:30 +00:00
|
|
|
- apiGroups:
|
|
|
|
- apps
|
|
|
|
resources:
|
|
|
|
- deployments
|
|
|
|
- daemonsets
|
|
|
|
- replicasets
|
|
|
|
- statefulsets
|
|
|
|
verbs:
|
2019-11-19 11:29:15 +00:00
|
|
|
- '*'
|
2019-10-28 09:35:30 +00:00
|
|
|
- apiGroups:
|
|
|
|
- monitoring.coreos.com
|
|
|
|
resources:
|
|
|
|
- servicemonitors
|
|
|
|
verbs:
|
2019-11-19 11:29:15 +00:00
|
|
|
- get
|
|
|
|
- create
|
2019-10-28 09:35:30 +00:00
|
|
|
- apiGroups:
|
|
|
|
- apps
|
|
|
|
resourceNames:
|
|
|
|
- seaweedfs-operator
|
2019-11-19 11:29:15 +00:00
|
|
|
resources:
|
|
|
|
- deployments/finalizers
|
2019-10-28 09:35:30 +00:00
|
|
|
verbs:
|
2019-11-19 11:29:15 +00:00
|
|
|
- update
|
2019-10-28 09:35:30 +00:00
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- pods
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- apiGroups:
|
|
|
|
- apps
|
|
|
|
resources:
|
|
|
|
- replicasets
|
|
|
|
verbs:
|
|
|
|
- get
|
2019-11-19 11:29:15 +00:00
|
|
|
- apiGroups:
|
2019-11-20 03:33:30 +00:00
|
|
|
- seaweedfs.com
|
2019-11-19 11:29:15 +00:00
|
|
|
resources:
|
|
|
|
- '*'
|
|
|
|
- seaweedfsclusters
|
|
|
|
verbs:
|
|
|
|
- '*'
|