Skip to content

Commit

Permalink
Added DSCI config (#35)
Browse files Browse the repository at this point in the history
* Added DSCI config

* This commit corrects the order in which the DSCI is applied uses the correct default dsci needed for correct application
  • Loading branch information
tonyxrmdavidson authored Mar 28, 2024
1 parent 785e8f1 commit 164d7dc
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
31 changes: 31 additions & 0 deletions openshift-ci/resources/model-registry-DSCInitialization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: dscinitialization.opendatahub.io/v1
kind: DSCInitialization
metadata:
creationTimestamp: '2024-03-27T16:16:55Z'
finalizers:
- dscinitialization.opendatahub.io/finalizer
generation: 1
labels:
app.kubernetes.io/created-by: opendatahub-operator
app.kubernetes.io/instance: default
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: dscinitialization
app.kubernetes.io/part-of: opendatahub-operator
name: default-dsci
spec:
applicationsNamespace: opendatahub
monitoring:
managementState: Managed
namespace: opendatahub
serviceMesh:
auth:
audiences:
- 'https://kubernetes.default.svc'
controlPlane:
metricsCollection: Istio
name: data-science-smcp
namespace: istio-system
managementState: Managed
trustedCABundle:
customCABundle: ''
managementState: Managed
4 changes: 3 additions & 1 deletion openshift-ci/scripts/oci-model-registry-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Define variables for ODH deployment deployment
OPENDATAHUB_SUBSCRIPTION="openshift-ci/resources/opendatahub-subscription.yaml"
DSC_INITIALIZATION_MANIFEST="openshift-ci/resources/model-registry-DSCInitialization.yaml"
DATA_SCIENCE_CLUSTER_MANIFEST="openshift-ci/resources/opendatahub-data-science-cluster.yaml"
MODEL_REGISTRY_OPERATOR_GIT_URL="https://github.com/opendatahub-io/model-registry-operator.git"
source "openshift-ci/scripts/colour_text_variables.sh"
Expand Down Expand Up @@ -157,8 +158,9 @@ run_deployment_tests() {
# Main function for orchestrating deployments
main() {
deploy_and_wait $OPENDATAHUB_SUBSCRIPTION
deploy_and_wait $DSC_INITIALIZATION_MANIFEST
check_pod_status "opendatahub" "-l component.opendatahub.io/name=model-registry-operator" 2
deploy_and_wait $DATA_SCIENCE_CLUSTER_MANIFEST
deploy_and_wait $DATA_SCIENCE_CLUSTER_MANIFEST
clone_deploy_model_registry_operator_crd_files
run_deployment_tests
}
Expand Down

0 comments on commit 164d7dc

Please sign in to comment.