Skip to content

Commit

Permalink
fixes and edits
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeromano committed Feb 27, 2024
1 parent 705f37e commit 2f2ed2a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitops/bootstrap/bootstrap-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ spec:
- repoURL: https://github.com/gitops-bridge-dev/gitopscon-2024-na-demo
path: gitops/bootstrap
targetRevision: HEAD
- repoURL: https://github.com/ImagineLearning/otk-platform
- repoURL: https://github.com/gitops-bridge-dev/gitopscon-2024-na-demo
path: gitops/clusters
targetRevision: HEAD
- repoURL: https://github.com/ImagineLearning/otk-platform
- repoURL: https://github.com/gitops-bridge-dev/gitopscon-2024-na-demo
path: gitops/addons
targetRevision: HEAD
9 changes: 9 additions & 0 deletions pulumi/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ 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 create secret generic private-repo-creds -n argocd \
--from-literal=username=REPLACE_USERNAME \
--from-literal=password=$GITHUB_TOKEN \
--from-literal=type=git \
--from-literal=url=https://github.com/gitops-bridge-dev/gitopscon-2024-na-demo \
--dry-run=client -o yaml | \
sed "s/namespace: argocd/namespace: argocd\n labels:\n argocd.argoproj.io\/secret-type: repository/" | \
kubectl apply -f -

kubectl apply -f "../gitops/clusters/hub-cluster.yaml"
kubectl apply -f "../gitops/bootstrap/bootstrap-app.yaml"

Expand Down

0 comments on commit 2f2ed2a

Please sign in to comment.