sync-wave annotation on objects generated by helm chart recognised by argocd for ordering? #14891
Replies: 3 comments 3 replies
-
are those two charts, two different apps? |
Beta Was this translation helpful? Give feedback.
-
Is there a way to use progressive sync between 2 different application sets? |
Beta Was this translation helpful? Give feedback.
-
Sync waves are only considered in the same sync context, so I'm afraid what you want to achieve here is not quite possible. There are two potential workarounds:
Both would not prevent the standalone sync of any of the apps, though. We're working on "true" application dependencies, but there's still some way to go for that: #15280 |
Beta Was this translation helpful? Give feedback.
-
Hi
I have two helm charts that needs to be deployed in sequential order, meaning all the objects generated by helm chart A should be created first and then chart B should start creating the objects.
So, to achieve this I have added sync wave annotation to the application objects for both the charts, but that does not have the intended behaviour that was expecting. Both the applications are synched one by one very quickly but the generated objects from both the charts start synching at the same time.
My question is if I add the sync-wave annotation objects to all the objects generated by helm chart A, say 0 and then 1 to all the objects of helm chart B, will that fix the problem? I want to know if argocd recognised annotations on the object generated by helm chart for ordering?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions