Skip to content

Commit

Permalink
update bootstrap command to annotate sa and restart pods
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeromano committed Mar 8, 2024
1 parent f8de2a4 commit bf83bb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pulumi/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=<INSERT-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 \
Expand Down

0 comments on commit bf83bb3

Please sign in to comment.