diff --git a/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-crystal.yaml b/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-crystal.yaml index ea0191d69..875485eef 100644 --- a/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-crystal.yaml +++ b/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-crystal.yaml @@ -7,6 +7,8 @@ metadata: # Finalizer that ensures that project is not deleted until it is not referenced by any application finalizers: - resources-finalizer.argocd.argoproj.io + annotations: + argocd.argoproj.io/sync-wave: "1" spec: destinations: - namespace: {{ .Values.spec.apps.ecsdemoCrystal.namespace | default "ecsdemo-crystal" }} @@ -28,6 +30,8 @@ metadata: {{- toYaml .Values.labels | nindent 4 }} finalizers: - resources-finalizer.argocd.argoproj.io + annotations: + argocd.argoproj.io/sync-wave: "2" spec: project: {{ .Values.spec.apps.ecsdemoCrystal.project | default "ecsdemo-crystal" }} destination: diff --git a/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-frontend.yaml b/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-frontend.yaml index 773dd85b3..1508be2df 100644 --- a/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-frontend.yaml +++ b/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-frontend.yaml @@ -7,6 +7,8 @@ metadata: # Finalizer that ensures that project is not deleted until it is not referenced by any application finalizers: - resources-finalizer.argocd.argoproj.io + annotations: + argocd.argoproj.io/sync-wave: "1" spec: destinations: - namespace: {{ .Values.spec.apps.ecsdemoFrontend.namespace | default "ecsdemo-frontend" }} @@ -28,6 +30,8 @@ metadata: {{- toYaml .Values.labels | nindent 4 }} finalizers: - resources-finalizer.argocd.argoproj.io + annotations: + argocd.argoproj.io/sync-wave: "2" spec: project: {{ .Values.spec.apps.ecsdemoFrontend.project | default "ecsdemo-frontend" }} destination: diff --git a/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-nodejs.yaml b/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-nodejs.yaml index 1c67b624c..7b9fabb73 100644 --- a/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-nodejs.yaml +++ b/multi-repo/argo-app-of-apps/dev/templates/ecsdemo-nodejs.yaml @@ -7,6 +7,8 @@ metadata: # Finalizer that ensures that project is not deleted until it is not referenced by any application finalizers: - resources-finalizer.argocd.argoproj.io + annotations: + argocd.argoproj.io/sync-wave: "1" spec: destinations: - namespace: {{ .Values.spec.apps.ecsdemoNodejs.namespace | default "ecsdemo-nodejs" }} @@ -28,6 +30,8 @@ metadata: {{- toYaml .Values.labels | nindent 4 }} finalizers: - resources-finalizer.argocd.argoproj.io + annotations: + argocd.argoproj.io/sync-wave: "2" spec: project: {{ .Values.spec.apps.ecsdemoNodejs.project | default "ecsdemo-nodejs" }} destination: