From 84df2b1c9dc1ce4073160b5a4b81da86aff2b103 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Wed, 1 Dec 2021 23:04:06 +0700 Subject: [PATCH] refactor(bootstrap): sync all ApplicationSets at once Because sync waves are removed --- bootstrap/Makefile | 2 +- bootstrap/root-app/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/Makefile b/bootstrap/Makefile index ad45d61d..e658971a 100644 --- a/bootstrap/Makefile +++ b/bootstrap/Makefile @@ -12,4 +12,4 @@ argocd: .PHONY: root-app root-app: - kubectl apply -n argocd -f root-app/applicationsets/bootstrap.yaml + kustomize build ./root-app | kubectl apply -f - diff --git a/bootstrap/root-app/kustomization.yaml b/bootstrap/root-app/kustomization.yaml index bf3a5a39..fc1c199a 100644 --- a/bootstrap/root-app/kustomization.yaml +++ b/bootstrap/root-app/kustomization.yaml @@ -3,7 +3,7 @@ kind: Kustomization resources: # - projects/system.yaml -# - applicationsets/bootstrap.yaml +- applicationsets/bootstrap.yaml - applicationsets/system.yaml - applicationsets/platform.yaml - applicationsets/apps.yaml