github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/deploy/role.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  kind: Role
     3  metadata:
     4    creationTimestamp: null
     5    name: sriov-network-operator
     6  rules:
     7  - apiGroups:
     8    - ""
     9    resources:
    10    - pods
    11    - services
    12    - endpoints
    13    - persistentvolumeclaims
    14    - events
    15    - configmaps
    16    - secrets
    17    verbs:
    18    - '*'
    19  - apiGroups:
    20    - apps
    21    resources:
    22    - deployments
    23    - daemonsets
    24    - replicasets
    25    - statefulsets
    26    verbs:
    27    - '*'
    28  - apiGroups:
    29    - monitoring.coreos.com
    30    resources:
    31    - servicemonitors
    32    verbs:
    33    - get
    34    - create
    35  - apiGroups:
    36    - apps
    37    resourceNames:
    38    - sriov-network-operator
    39    resources:
    40    - deployments/finalizers
    41    verbs:
    42    - update
    43  - apiGroups:
    44    - rbac.authorization.k8s.io
    45    resources:
    46    - serviceaccounts
    47    - roles
    48    - rolebindings
    49    verbs:
    50    - '*'
    51  - apiGroups:
    52    - config.openshift.io
    53    resources:
    54    - infrastructures
    55    verbs:
    56    - get
    57    - list
    58    - watch
    59  ---
    60  apiVersion: rbac.authorization.k8s.io/v1
    61  kind: Role
    62  metadata:
    63    name: sriov-network-config-daemon
    64  rules:
    65  - apiGroups:
    66    - ""
    67    resources:
    68    - pods
    69    verbs:
    70    - '*'
    71  - apiGroups:
    72    - apps
    73    resources:
    74    - daemonsets
    75    verbs:
    76    - '*'
    77  - apiGroups:
    78    - sriovnetwork.openshift.io
    79    resources:
    80    - '*'
    81    - sriovnetworknodestates
    82    verbs:
    83    - '*'
    84  - apiGroups:
    85      - security.openshift.io
    86    resourceNames:
    87      - privileged
    88    resources:
    89      - securitycontextconstraints
    90    verbs:
    91      - use
    92  - apiGroups:
    93    - ""
    94    resources:
    95    - configmaps
    96    verbs:
    97    - get
    98    - update
    99  - apiGroups:
   100    - 'coordination.k8s.io'
   101    resources:
   102    - 'leases'
   103    verbs:
   104    - '*'
   105  - apiGroups:
   106      - ""
   107    resources:
   108      - events
   109    verbs:
   110      - create
   111      - patch
   112  ---
   113  apiVersion: rbac.authorization.k8s.io/v1
   114  kind: Role
   115  metadata:
   116    name: operator-webhook-sa
   117  rules:
   118  - apiGroups:
   119    - ""
   120    resources:
   121    - configmaps
   122    verbs:
   123    - get