Skip to content

Commit

Permalink
RHOAIENG-2020: Rename TrustyAI API group in accordance to trustyai-ex…
Browse files Browse the repository at this point in the history
  • Loading branch information
ruivieira committed Jan 19, 2024
1 parent a91aaab commit 5b5244b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions bundle/manifests/rhods-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ spec:
verbs:
- '*'
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices
verbs:
Expand All @@ -1633,13 +1633,13 @@ spec:
- update
- watch
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices/finalizers
verbs:
- update
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices/status
verbs:
Expand Down
6 changes: 3 additions & 3 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ rules:
verbs:
- '*'
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices
verbs:
Expand All @@ -1400,13 +1400,13 @@ rules:
- update
- watch
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices/finalizers
verbs:
- update
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices/status
verbs:
Expand Down
6 changes: 3 additions & 3 deletions controllers/datasciencecluster/kubebuilder_rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ package datasciencecluster
// +kubebuilder:rbac:groups="monitoring.coreos.com",resources=probes,verbs=get;create;patch;delete;deletecollection
// +kubebuilder:rbac:groups="monitoring.coreos.com",resources=prometheusrules,verbs=get;create;patch;delete;deletecollection

//+kubebuilder:rbac:groups=trustyai.opendatahub.io.trustyai.opendatahub.io,resources=trustyaiservices,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=trustyai.opendatahub.io.trustyai.opendatahub.io,resources=trustyaiservices/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=trustyai.opendatahub.io.trustyai.opendatahub.io,resources=trustyaiservices/finalizers,verbs=update
//+kubebuilder:rbac:groups=trustyai.opendatahub.io,resources=trustyaiservices,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=trustyai.opendatahub.io,resources=trustyaiservices/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=trustyai.opendatahub.io,resources=trustyaiservices/finalizers,verbs=update

// +kubebuilder:rbac:groups="monitoring.coreos.com",resources=prometheuses/finalizers,verbs=get;create;patch;delete;deletecollection
// +kubebuilder:rbac:groups="monitoring.coreos.com",resources=prometheuses/status,verbs=get;create;patch;delete;deletecollection
Expand Down

0 comments on commit 5b5244b

Please sign in to comment.