seaweedfs-operator/deploy/role.yaml

63 lines
1.0 KiB
YAML
Raw Normal View History

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