Skip to content

Commit

Permalink
Update TrustyAI CRD to match new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ruivieira committed Jan 26, 2024
1 parent b2b7a7f commit 1f8670d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,7 @@ spec:
verbs:
- '*'
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices
verbs:
Expand All @@ -1627,13 +1627,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 @@ -1409,7 +1409,7 @@ rules:
verbs:
- '*'
- apiGroups:
- trustyai.opendatahub.io.trustyai.opendatahub.io
- trustyai.opendatahub.io
resources:
- trustyaiservices
verbs:
Expand All @@ -1421,13 +1421,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 @@ -104,9 +104,9 @@ package datasciencecluster
// +kubebuilder:rbac:groups="monitoring.coreos.com",resources=prometheusrules,verbs=get;create;patch;delete;deletecollection
// +kubebuilder:rbac:groups="monitoring.coreos.com",resources=prometheuses,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 1f8670d

Please sign in to comment.