From bf83bb3bb42a8653e252c1266ea4d22e27dc5ea3 Mon Sep 17 00:00:00 2001 From: Blake R <85771645+blakeromano@users.noreply.github.com> Date: Fri, 8 Mar 2024 10:36:59 -0700 Subject: [PATCH] update bootstrap command to annotate sa and restart pods --- pulumi/bootstrap.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pulumi/bootstrap.sh b/pulumi/bootstrap.sh index 2d4922d..4e7d5a4 100755 --- a/pulumi/bootstrap.sh +++ b/pulumi/bootstrap.sh @@ -9,6 +9,12 @@ aws eks --region us-east-1 update-kubeconfig --name hub-cluster --alias hub-clus kubectl create namespace argocd --context hub-cluster kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml --context hub-cluster +kubectl annotate serviceaccount argocd-server argocd-application-controller \ + eks.amazonaws.com/role-arn= --namespace=argocd + +kubectl rollout restart deployment argocd-server +kubectl rollout restart sts argocd-application-controller + kubectl create secret generic private-repo-creds -n argocd \ --from-literal=username=REPLACE_USERNAME \ --from-literal=password=$GITHUB_TOKEN \