apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: pod-edit namespace: ob rules: - apiGroups: - "" resources: - pods - deployments verbs: - create - get - list - delete - watch - apiGroups: - "apps" resources: - deployments verbs: - create - get - list - delete - watch