Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahincsejnu/kcd-dhaka-gitops-demo
https://github.com/shahincsejnu/kcd-dhaka-gitops-demo
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/shahincsejnu/kcd-dhaka-gitops-demo
- Owner: shahincsejnu
- License: apache-2.0
- Created: 2024-05-10T23:16:20.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-12T00:57:44.000Z (6 months ago)
- Last Synced: 2024-05-12T04:36:13.703Z (6 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kcd-dhaka-gitops-demo
## ArgoCD Installations (this is needed only once initially)
- create `argocd` namespace: `kubectl create namespace argocd`
- install `argocd`: `kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml`:
- make sure pods are running: `kubectl get pods -n argocd`
- check the services: `kubectl get svc -n argocd`
- port forward of the `argocd` server (to access the `argocd` UI): `kubectl port-forward -n argocd svc/argocd-server 8080:443`
- login to argocd UI(`localhost:8080`):
- username: `admin`
- password: get by `kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo`
- connect the git repository from argocd UI:
- go to settings -> repositories -> add github (project: default, )
- you may need to provide git personal access token for the respective git repo
- apply argocd application: `kubectl apply -f argocd/application.yaml`