github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/deployment/sriov-network-operator/templates/clusterrolebinding.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  kind: ClusterRoleBinding
     3  metadata:
     4    name: {{ include "sriov-network-operator.fullname" . }}
     5    labels:
     6    {{- include "sriov-network-operator.labels" . | nindent 4 }}
     7  roleRef:
     8    kind: ClusterRole
     9    name: {{ include "sriov-network-operator.fullname" . }}
    10    apiGroup: rbac.authorization.k8s.io
    11  subjects:
    12    - kind: ServiceAccount
    13      namespace: {{ .Release.Namespace }}
    14      name: {{ include "sriov-network-operator.fullname" . }}
    15  ---
    16  apiVersion: rbac.authorization.k8s.io/v1
    17  kind: ClusterRoleBinding
    18  metadata:
    19    name: sriov-network-config-daemon
    20    labels:
    21    {{- include "sriov-network-operator.labels" . | nindent 4 }}
    22  roleRef:
    23    kind: ClusterRole
    24    name: sriov-network-config-daemon
    25    apiGroup: rbac.authorization.k8s.io
    26  subjects:
    27    - kind: ServiceAccount
    28      namespace: {{ .Release.Namespace }}
    29      name: sriov-network-config-daemon