...

Text file src/edge-infra.dev/config/pallets/sds/etcd/operator/base/rbac/rolebinding.yaml

Documentation: edge-infra.dev/config/pallets/sds/etcd/operator/base/rbac

     1apiVersion: rbac.authorization.k8s.io/v1
     2kind: ClusterRoleBinding
     3metadata:
     4  name: etcd-operator
     5roleRef:
     6  name: etcd-operator
     7  kind: ClusterRole
     8  apiGroup: rbac.authorization.k8s.io
     9subjects:
    10- name: etcd-operator
    11  namespace: etcd-operator
    12  kind: ServiceAccount
    13---
    14apiVersion: rbac.authorization.k8s.io/v1
    15kind: RoleBinding
    16metadata:
    17  name: etcd-operator
    18  namespace: etcd-operator
    19roleRef:
    20  name: etcd-operator
    21  kind: Role
    22  apiGroup: rbac.authorization.k8s.io
    23subjects:
    24- name: etcd-operator
    25  namespace: etcd-operator
    26  kind: ServiceAccount
    27---
    28## TODO: Remove this RoleBinding when removing tigera-operator node affinity change
    29apiVersion: rbac.authorization.k8s.io/v1
    30kind: RoleBinding
    31metadata:
    32  name: etcd-operator
    33  namespace: tigera-operator
    34roleRef:
    35  name: etcd-operator
    36  kind: Role
    37  apiGroup: rbac.authorization.k8s.io
    38subjects:
    39- name: etcd-operator
    40  namespace: etcd-operator
    41  kind: ServiceAccount

View as plain text