kubernetes-handbook/manifests/oam/cluster-role.yaml

26 lines
475 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: crossplane-oam
rules:
- apiGroups:
- apps
resources:
- statefulsets
- deployments
verbs:
- "*"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: oam-example-catalog
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: crossplane-oam
subjects:
- kind: ServiceAccount
name: crossplane-oam
namespace: crossplane-system