Skip to content

Commit

Permalink
add: get permission on resources (#1043)
Browse files Browse the repository at this point in the history
- since we already have these resource for create, list, delete etc, no
harm to add get on them

Signed-off-by: Wen Zhou <[email protected]>
  • Loading branch information
zdtsw authored Jun 7, 2024
1 parent 952795a commit bd9b83c
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 37 deletions.
36 changes: 36 additions & 0 deletions bundle/manifests/opendatahub-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ spec:
- tokenreviews
verbs:
- create
- get
- apiGroups:
- authorino.kuadrant.io
resources:
Expand All @@ -329,6 +330,7 @@ spec:
- subjectaccessreviews
verbs:
- create
- get
- apiGroups:
- authorization.openshift.io
resources:
Expand Down Expand Up @@ -360,6 +362,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -370,6 +373,7 @@ spec:
- machineautoscalers
verbs:
- delete
- get
- list
- patch
- apiGroups:
Expand All @@ -378,6 +382,7 @@ spec:
- machinesets
verbs:
- delete
- get
- list
- patch
- apiGroups:
Expand Down Expand Up @@ -417,6 +422,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- watch
Expand All @@ -438,6 +444,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- watch
Expand All @@ -454,6 +461,7 @@ spec:
resources:
- clusterversions
verbs:
- get
- list
- watch
- apiGroups:
Expand Down Expand Up @@ -507,6 +515,7 @@ spec:
resources:
- clusterversions
verbs:
- get
- list
- watch
- apiGroups:
Expand Down Expand Up @@ -577,6 +586,7 @@ spec:
- namespaces/finalizers
verbs:
- delete
- get
- list
- patch
- update
Expand Down Expand Up @@ -616,6 +626,7 @@ spec:
resources:
- rhmis
verbs:
- get
- list
- watch
- apiGroups:
Expand Down Expand Up @@ -674,6 +685,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand Down Expand Up @@ -758,6 +770,7 @@ spec:
resources:
- datasciencepipelinesapplications/finalizers
verbs:
- get
- patch
- update
- apiGroups:
Expand Down Expand Up @@ -804,6 +817,7 @@ spec:
- events
verbs:
- delete
- get
- list
- patch
- watch
Expand Down Expand Up @@ -880,6 +894,7 @@ spec:
- rhmis
verbs:
- delete
- get
- list
- patch
- watch
Expand Down Expand Up @@ -907,6 +922,7 @@ spec:
- machineautoscalers
verbs:
- delete
- get
- list
- patch
- apiGroups:
Expand All @@ -915,6 +931,7 @@ spec:
- machinesets
verbs:
- delete
- get
- list
- patch
- apiGroups:
Expand Down Expand Up @@ -988,6 +1005,7 @@ spec:
resources:
- modelregistries/finalizers
verbs:
- get
- update
- apiGroups:
- modelregistry.opendatahub.io
Expand Down Expand Up @@ -1178,6 +1196,7 @@ spec:
- virtualservices/status
verbs:
- delete
- get
- patch
- update
- apiGroups:
Expand Down Expand Up @@ -1246,6 +1265,7 @@ spec:
- consoles
verbs:
- delete
- get
- list
- patch
- watch
Expand Down Expand Up @@ -1410,6 +1430,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -1421,6 +1442,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -1431,6 +1453,7 @@ spec:
- services/status
verbs:
- delete
- get
- patch
- update
- apiGroups:
Expand All @@ -1440,6 +1463,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -1451,6 +1475,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -1461,6 +1486,7 @@ spec:
- clusterservingruntimes/status
verbs:
- delete
- get
- patch
- update
- apiGroups:
Expand All @@ -1470,6 +1496,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -1480,6 +1507,7 @@ spec:
- inferencegraphs/status
verbs:
- delete
- get
- patch
- update
- apiGroups:
Expand Down Expand Up @@ -1512,6 +1540,7 @@ spec:
- inferenceservices/status
verbs:
- delete
- get
- patch
- update
- apiGroups:
Expand All @@ -1521,6 +1550,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -1530,6 +1560,7 @@ spec:
resources:
- predictors/finalizers
verbs:
- get
- patch
- update
- apiGroups:
Expand All @@ -1538,6 +1569,7 @@ spec:
- predictors/status
verbs:
- delete
- get
- patch
- update
- apiGroups:
Expand All @@ -1563,6 +1595,7 @@ spec:
resources:
- servingruntimes/status
verbs:
- get
- patch
- update
- apiGroups:
Expand All @@ -1572,6 +1605,7 @@ spec:
verbs:
- create
- delete
- get
- list
- patch
- update
Expand All @@ -1582,6 +1616,7 @@ spec:
- trainedmodels/status
verbs:
- delete
- get
- patch
- update
- apiGroups:
Expand Down Expand Up @@ -1648,6 +1683,7 @@ spec:
- users
verbs:
- delete
- get
- list
- patch
- watch
Expand Down
Loading

0 comments on commit bd9b83c

Please sign in to comment.