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

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