github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/upstream/manifests/0.7.1/0000_30_01-olm-operator.serviceaccount.yaml (about)

     1  ##---
     2  # Source: olm/templates/0000_30_01-olm-operator.serviceaccount.yaml
     3  apiVersion: rbac.authorization.k8s.io/v1
     4  kind: ClusterRole
     5  metadata:
     6    name: system:controller:operator-lifecycle-manager
     7  rules:
     8  - apiGroups: ["*"]
     9    resources: ["*"]
    10    verbs: ["*"]
    11  - nonResourceURLs: ["*"]
    12    verbs: ["*"]
    13  ---
    14  kind: ServiceAccount
    15  apiVersion: v1
    16  metadata:
    17    name: olm-operator-serviceaccount
    18    namespace: olm
    19  ---
    20  apiVersion: rbac.authorization.k8s.io/v1
    21  kind: ClusterRoleBinding
    22  metadata:
    23    name: olm-operator-binding-olm
    24  roleRef:
    25    apiGroup: rbac.authorization.k8s.io
    26    kind: ClusterRole
    27    name: system:controller:operator-lifecycle-manager
    28  subjects:
    29  - kind: ServiceAccount
    30    name: olm-operator-serviceaccount
    31    namespace: olm