Skip to content

Commit 50653cd

Browse files
committed
WIP: delay applications to a non-default, later sync-wave
This is needed because the application delete happens in a reverse order. If everything is in sync-wave 0 (default) some of the used crd's might be already removed, and makes the cr stuck. Argocd would be also stuck on either ns, or projects (that are in the default 0 wave)
1 parent a257904 commit 50653cd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

values-hub.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,31 @@ clusterGroup:
5555
project: hub
5656
chart: hashicorp-vault
5757
chartVersion: 0.1.*
58+
annotations:
59+
argocd.argoproj.io/sync-wave: "2"
5860
golang-external-secrets:
5961
name: golang-external-secrets
6062
namespace: golang-external-secrets
6163
project: hub
6264
chart: golang-external-secrets
6365
chartVersion: 0.1.*
66+
annotations:
67+
argocd.argoproj.io/sync-wave: "5"
6468
config-demo:
6569
name: config-demo
6670
namespace: config-demo
6771
project: config-demo
6872
path: charts/all/config-demo
73+
annotations:
74+
argocd.argoproj.io/sync-wave: "10"
75+
6976
hello-world:
7077
name: hello-world
7178
namespace: hello-world
7279
project: hello-world
7380
path: charts/all/hello-world
81+
annotations:
82+
argocd.argoproj.io/sync-wave: "2"
7483
imperative:
7584
# NOTE: We *must* use lists and not hashes. As hashes lose ordering once parsed by helm
7685
# The default schedule is every 10 minutes: imperative.schedule

0 commit comments

Comments
 (0)