From 3d44299541a28d97d50e5c25e71d02964122e634 Mon Sep 17 00:00:00 2001 From: Ray Harris Date: Wed, 29 Sep 2021 10:15:26 -0400 Subject: [PATCH] ocm: add image-builder role to ocm sa --- .../admin_open-cluster-management.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/clusters/app.ci/registry-access/open-cluster-management/admin_open-cluster-management.yaml b/clusters/app.ci/registry-access/open-cluster-management/admin_open-cluster-management.yaml index cb5d2da59544..782c67bb52d4 100644 --- a/clusters/app.ci/registry-access/open-cluster-management/admin_open-cluster-management.yaml +++ b/clusters/app.ci/registry-access/open-cluster-management/admin_open-cluster-management.yaml @@ -78,6 +78,20 @@ subjects: --- kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ocm-image-pusher + namespace: open-cluster-management +roleRef: + kind: Role + name: "system:image-builder" + apiGroup: rbac.authorization.k8s.io +subjects: +- kind: ServiceAccount + name: image-pusher + namespace: open-cluster-management +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: image-puller namespace: open-cluster-management