Skip to content

Commit

Permalink
update: rhoai
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Jul 29, 2024
1 parent 523f63d commit 9a74386
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,11 @@ SERVICEMESH_RESOURCES=(
done
}

approve_install(){
oc -n redhat-ods-operator \
patch subscription rhods-operator \
--type=merge --patch '{"spec":{"installPlanApproval":{"Automatic"}}}'
}

wait_for_service_mesh
approve_install
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ rules:
verbs:
- get
- list
- apiGroups:
- operators.coreos.com
resources:
- subscriptions
verbs:
- get
- list
- patch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

This file was deleted.

This file was deleted.

8 changes: 8 additions & 0 deletions demos/rhoai-demo-ready/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ patches:
- op: replace
path: /spec/text
value: 'DEMO: Red Hat OpenShift AI (RHOAI)'
# kludge: allow servicemesh to install before rhoai
- target:
kind: Subscription
name: rhods-operator
patch: |-
- op: replace
path: /spec/installPlanApproval
value: Manual
# - target:
# group: user.openshift.io
# kind: Group
Expand Down

0 comments on commit 9a74386

Please sign in to comment.