Skip to content

Commit

Permalink
feat: Add sync waves to help RHOAI deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Butler <[email protected]>
  • Loading branch information
butler54 committed May 18, 2024
1 parent 9d45c05 commit ee15b8f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/all/rhoai/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: odh-cluster-role-binding
annotations:
argocd.argoproj.io/sync-wave: "1"
subjects:
- kind: ServiceAccount
name: openshift-gitops-argocd-application-controller
Expand Down
4 changes: 3 additions & 1 deletion charts/all/rhoai/templates/defaultkueueflavor.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
apiVersion: kueue.x-k8s.io/v1beta1
kind: ResourceFlavor
metadata:
name: default-flavor
name: default-flavor
annotations:
argocd.argoproj.io/sync-wave: "10"
2 changes: 2 additions & 0 deletions charts/all/rhoai/templates/kueueclusterqueue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: kueue.x-k8s.io/v1beta1
kind: ClusterQueue
metadata:
name: "cluster-queue"
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
namespaceSelector: {} # match all.
resourceGroups:
Expand Down
1 change: 1 addition & 0 deletions charts/all/rhoai/templates/kueuelocalqueue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ metadata:
name: local-queue-test
annotations:
kueue.x-k8s.io/default-queue: 'true'
argocd.argoproj.io/sync-wave: "10"
spec:
clusterQueue: cluster-queue
2 changes: 2 additions & 0 deletions charts/all/rhoai/templates/rhoai-datasciencecluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
labels:
app.kubernetes.io/part-of: rhods-operator
app.kubernetes.io/created-by: rhods-operator
annotations:
argocd.argoproj.io/sync-wave: "5"
name: data-science-cluster
spec:
components:
Expand Down

0 comments on commit ee15b8f

Please sign in to comment.