Skip to content

Commit

Permalink
small fixes to bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeromano committed Feb 27, 2024
1 parent 1f2c01b commit 705f37e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions gitops/bootstrap/bootstrap-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-bootstrap
namespace: argocd
spec:
project: default
syncPolicy:
Expand Down
4 changes: 2 additions & 2 deletions pulumi/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ 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 apply -f "../gitops/bootstrap/hub-cluster.yaml"
kubectl apply -f "../gitops/clusters/hub-cluster.yaml"
kubectl apply -f "../gitops/bootstrap/bootstrap-app.yaml"

# Echo command to port forward ArgoCD and get admin password
echo "To port forward ArgoCD run: kubectl -n argocd port-forward svc/argocd-server 8080:443 &"
echo "Password can be retrieved by running: kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d"
echo "Password can be retrieved by running: kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d"

0 comments on commit 705f37e

Please sign in to comment.