Skip to content

Commit

Permalink
add waves
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed May 29, 2024
1 parent c4e0cc7 commit e8b384e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 39 deletions.
17 changes: 0 additions & 17 deletions components/apps/create-bucket-job/base/create-bucket-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,3 @@ spec:
configMap:
name: create-bucket
restartPolicy: Never
# initContainers:
# - args:
# - -ec
# - |-
# echo -n 'Waiting for minio root user secret'
# while ! oc get secret single-model-serving-ds-connection 2>/dev/null | grep -qF single-model-serving-ds-connection; do
# echo -n .
# sleep 5
# done; echo
# command:
# - /bin/bash
# image: image-registry.openshift-image-registry.svc:5000/openshift/tools:latest
# imagePullPolicy: IfNotPresent
# name: wait-for-minio
# restartPolicy: Never
# serviceAccount: create-bucket
# serviceAccountName: create-bucket
17 changes: 0 additions & 17 deletions components/apps/create-bucket-job/base/create-bucket-rbac.yaml

This file was deleted.

5 changes: 2 additions & 3 deletions components/apps/create-bucket-job/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

# commonAnnotations:
# argocd.argoproj.io/hook: PreSync
commonAnnotations:
argocd.argoproj.io/sync-wave: "-100"

resources:
- create-bucket-job.yaml
# - create-bucket-rbac.yaml

generatorOptions:
disableNameSuffixHash: true
Expand Down
4 changes: 2 additions & 2 deletions components/apps/upload-model-job/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

# commonAnnotations:
# argocd.argoproj.io/hook: PreSync
commonAnnotations:
argocd.argoproj.io/sync-wave: "-90"

resources:
- upload-model-job.yaml
Expand Down

0 comments on commit e8b384e

Please sign in to comment.