Skip to content

Commit e749d24

Browse files
sutaakaropenshift-merge-robot
authored andcommitted
Makefile: Install ODH 2.x operator
1 parent 1bdbacf commit e749d24

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,13 @@ delete-codeflare-operator-from-github: ## Delete CodeFlare operator from main br
8686
deploy-codeflare: ## Deploy CodeFlare
8787
@echo -e "\n==> Deploying CodeFlare \n"
8888
-oc create ns opendatahub
89-
@while [[ -z $$(oc get customresourcedefinition kfdefs.kfdef.apps.kubeflow.org) ]]; do echo "."; sleep 10; done
90-
oc apply -f https://raw.githubusercontent.com/opendatahub-io/odh-manifests/master/kfdef/odh-core.yaml -n opendatahub
91-
oc apply -f https://raw.githubusercontent.com/opendatahub-io/distributed-workloads/main/codeflare-stack-kfdef.yaml -n opendatahub
89+
@while [[ -z $$(oc get customresourcedefinition datascienceclusters.datasciencecluster.opendatahub.io) ]]; do echo "."; sleep 10; done
90+
oc apply -f https://raw.githubusercontent.com/opendatahub-io/distributed-workloads/main/codeflare-dsc.yaml -n opendatahub
9291

9392
.PHONY: delete-codeflare
9493
delete-codeflare: ## Delete CodeFlare
9594
@echo -e "\n==> Deleting CodeFlare \n"
96-
-oc delete -f https://raw.githubusercontent.com/opendatahub-io/odh-manifests/master/kfdef/odh-core.yaml -n opendatahub
97-
-oc delete -f https://raw.githubusercontent.com/opendatahub-io/distributed-workloads/main/codeflare-stack-kfdef.yaml -n opendatahub
95+
-oc delete -f https://raw.githubusercontent.com/opendatahub-io/distributed-workloads/main/codeflare-dsc.yaml -n opendatahub
9896
-oc delete ns opendatahub
9997

10098
.PHONY: deploy-codeflare-from-filesystem
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: datasciencecluster.opendatahub.io/v1alpha1
2+
kind: DataScienceCluster
3+
metadata:
4+
labels:
5+
app.kubernetes.io/created-by: opendatahub-operator
6+
app.kubernetes.io/instance: default
7+
app.kubernetes.io/managed-by: kustomize
8+
app.kubernetes.io/name: datasciencecluster
9+
app.kubernetes.io/part-of: opendatahub-operator
10+
name: example-dsc
11+
spec:
12+
components:
13+
codeflare:
14+
enabled: false
15+
dashboard:
16+
enabled: true
17+
datasciencepipelines:
18+
enabled: false
19+
kserve:
20+
enabled: false
21+
modelmeshserving:
22+
enabled: false
23+
ray:
24+
enabled: false
25+
workbenches:
26+
enabled: true

contrib/configuration/opendatahub-operator-subscription.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
operators.coreos.com/opendatahub-operator.openshift-operators: ''
77
namespace: openshift-operators
88
spec:
9-
channel: rolling
9+
channel: fast
1010
name: opendatahub-operator
1111
installPlanApproval: Automatic
1212
source: community-operators

0 commit comments

Comments
 (0)