Skip to content

Commit b94c3c4

Browse files
committed
add dsci to schema instead of odh
Signed-off-by: Kevin <[email protected]>
1 parent 8fe9e92 commit b94c3c4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

config/rbac/role.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ rules:
4646
- get
4747
- patch
4848
- update
49+
- apiGroups:
50+
- dscinitialization.opendatahub.io
51+
resources:
52+
- dscinitializations
53+
verbs:
54+
- get
4955
- apiGroups:
5056
- networking.k8s.io
5157
resources:
@@ -56,12 +62,6 @@ rules:
5662
- get
5763
- patch
5864
- update
59-
- apiGroups:
60-
- dscinitialization.opendatahub.io
61-
resources:
62-
- dscinitializations
63-
verbs:
64-
- get
6565
- apiGroups:
6666
- ray.io
6767
resources:

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"strings"
2525
"time"
2626

27-
odhv1 "github.com/opendatahub-io/opendatahub-operator/v2/apis/features/v1"
27+
dsciv1 "github.com/opendatahub-io/opendatahub-operator/v2/apis/dscinitialization/v1"
2828
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
2929
"go.uber.org/zap/zapcore"
3030

@@ -72,7 +72,7 @@ func init() {
7272
// OpenShift Route
7373
utilruntime.Must(routev1.Install(scheme))
7474
// ODH
75-
utilruntime.Must(odhv1.AddToScheme(scheme))
75+
utilruntime.Must(dsciv1.AddToScheme(scheme))
7676
}
7777

7878
func main() {

0 commit comments

Comments
 (0)