Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(trusty): Change TrustyAI apiGroup #823

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading