FEAT: force prometheus crds to sync first

* introduce sync_wave parameter
This commit is contained in:
Sebastian Mark 2022-04-11 22:34:03 +02:00
parent 2b8efdd3a4
commit 568a6f9a7b
2 changed files with 4 additions and 1 deletions

View file

@ -4,12 +4,14 @@
namespace:: $.name,
syncOptions:: ["CreateNamespace=true"],
retryLimit:: 5,
sync_wave:: 0,
apiVersion: "argoproj.io/v1alpha1",
kind: "Application",
metadata: {
name: $.name,
namespace: "argocd",
annotations: { "argocd.argoproj.io/sync-wave": std.toString($.sync_wave) },
finalizers: ["resources-finalizer.argocd.argoproj.io"],
},
spec: {