Skip to content

Commit f53a858

Browse files
committed
fixup! Support serviceaccount pull secrets
Signed-off-by: Todd Short <tshort@redhat.com>
1 parent 2144fad commit f53a858

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

manifests/standard.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,22 @@ rules:
10951095
---
10961096
apiVersion: rbac.authorization.k8s.io/v1
10971097
kind: Role
1098+
metadata:
1099+
name: catalogd-manager-role
1100+
namespace: olmv1-system
1101+
rules:
1102+
- apiGroups:
1103+
- ""
1104+
resources:
1105+
- secrets
1106+
- serviceaccounts
1107+
verbs:
1108+
- get
1109+
- list
1110+
- watch
1111+
---
1112+
apiVersion: rbac.authorization.k8s.io/v1
1113+
kind: Role
10981114
metadata:
10991115
name: operator-controller-leader-election-role
11001116
namespace: olmv1-system
@@ -1150,6 +1166,14 @@ rules:
11501166
- patch
11511167
- update
11521168
- watch
1169+
- apiGroups:
1170+
- ""
1171+
resources:
1172+
- serviceaccounts
1173+
verbs:
1174+
- get
1175+
- list
1176+
- watch
11531177
---
11541178
apiVersion: rbac.authorization.k8s.io/v1
11551179
kind: ClusterRole
@@ -1355,6 +1379,23 @@ subjects:
13551379
---
13561380
apiVersion: rbac.authorization.k8s.io/v1
13571381
kind: RoleBinding
1382+
metadata:
1383+
labels:
1384+
app.kubernetes.io/name: catalogd
1385+
app.kubernetes.io/part-of: olm
1386+
name: catalogd-manager-rolebinding
1387+
namespace: olmv1-system
1388+
roleRef:
1389+
apiGroup: rbac.authorization.k8s.io
1390+
kind: Role
1391+
name: catalogd-manager-role
1392+
subjects:
1393+
- kind: ServiceAccount
1394+
name: catalogd-controller-manager
1395+
namespace: olmv1-system
1396+
---
1397+
apiVersion: rbac.authorization.k8s.io/v1
1398+
kind: RoleBinding
13581399
metadata:
13591400
name: operator-controller-leader-election-rolebinding
13601401
namespace: olmv1-system

0 commit comments

Comments
 (0)