diff --git a/cluster-scope/overlays/nerc-ocp-prod/clusterrolebindings/autopilot-service-acc-node-reader.yaml b/cluster-scope/overlays/nerc-ocp-prod/clusterrolebindings/autopilot-service-acc-node-reader.yaml new file mode 100644 index 00000000..f93190d3 --- /dev/null +++ b/cluster-scope/overlays/nerc-ocp-prod/clusterrolebindings/autopilot-service-acc-node-reader.yaml @@ -0,0 +1,12 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: autopilot-service-acc-node-reader +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: nerc-node-reader +subjects: + - kind: ServiceAccount + name: autopilot-service-acc + namespace: autopilot-dashboard-f3dc9e diff --git a/cluster-scope/overlays/nerc-ocp-prod/clusterrolebindings/kustomization.yaml b/cluster-scope/overlays/nerc-ocp-prod/clusterrolebindings/kustomization.yaml index ffce34b4..2b9d3716 100644 --- a/cluster-scope/overlays/nerc-ocp-prod/clusterrolebindings/kustomization.yaml +++ b/cluster-scope/overlays/nerc-ocp-prod/clusterrolebindings/kustomization.yaml @@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - jschless-node-reader.yaml +- autopilot-service-acc-node-reader.yaml