Skip to content

Commit 74b15ee

Browse files
andrewlecuyerJonathan S. Katz
authored andcommitted
Fixes ReplicaSet & Pod Logs Permissions in OLM CSV
Fixes the ReplicaSet and pods/logs permissions defined in the PostgreSQL Operator ClusterServiceVersion spec. This aligns the clusterPermissions defined in the CSV with the RBAC generated via other supported installation methods. Issue: [ch10871] Issue: #2334
1 parent 7fca436 commit 74b15ee

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

installers/olm/postgresoperator.csv.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ spec:
107107
- endpoints
108108
- pods
109109
- pods/exec
110-
- pods/log
111-
- replicasets
112110
- secrets
113111
- services
114112
- persistentvolumeclaims
@@ -121,10 +119,19 @@ spec:
121119
- update
122120
- delete
123121
- deletecollection
122+
- apiGroups:
123+
- ''
124+
resources:
125+
- pods/log
126+
verbs:
127+
- get
128+
- list
129+
- watch
124130
- apiGroups:
125131
- apps
126132
resources:
127133
- deployments
134+
- replicasets
128135
verbs:
129136
- get
130137
- list

0 commit comments

Comments
 (0)