github.com/yashbhutwala/operator-sdk@v0.8.1/test/ansible-inventory/deploy/role.yaml (about) 1 apiVersion: rbac.authorization.k8s.io/v1 2 kind: Role 3 metadata: 4 name: inventory 5 rules: 6 - apiGroups: 7 - "" 8 resources: 9 - pods 10 - services 11 - endpoints 12 - persistentvolumeclaims 13 - events 14 - configmaps 15 - secrets 16 verbs: 17 - '*' 18 - apiGroups: 19 - "" 20 resources: 21 - namespaces 22 verbs: 23 - get 24 - apiGroups: 25 - apps 26 resources: 27 - deployments 28 - daemonsets 29 - replicasets 30 - statefulsets 31 verbs: 32 - '*' 33 - apiGroups: 34 - monitoring.coreos.com 35 resources: 36 - servicemonitors 37 verbs: 38 - get 39 - create 40 - apiGroups: 41 - inventory.apps.fabianism.us 42 resources: 43 - '*' 44 verbs: 45 - '*'