https://github.com/kryptn/infra
personal k8s
https://github.com/kryptn/infra
argocd gitops gitops-managed-cluster kubernetes
Last synced: 2 months ago
JSON representation
personal k8s
- Host: GitHub
- URL: https://github.com/kryptn/infra
- Owner: kryptn
- Created: 2021-01-13T07:25:44.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T04:11:41.000Z (almost 2 years ago)
- Last Synced: 2024-04-20T00:15:38.720Z (almost 2 years ago)
- Topics: argocd, gitops, gitops-managed-cluster, kubernetes
- Language: HCL
- Homepage: https://argocd.arq.dev
- Size: 1.35 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# infra
- install [just](https://github.com/casey/just)
- install [kustomize](https://kubectl.docs.kubernetes.io/installation/kustomize/source/)
- install [kubeseal](https://github.com/bitnami-labs/sealed-secrets)
- install [helm](https://helm.sh/docs/)
All secrets for now are sealed secrets
## Set up your cluster
I have this set up with digitalocean today. check [the vars file](./cloud/digitalocean/vars.tf) and config as necessary.
you should leave this step with a valid kubectl context loaded, wherever your cluster is
### Full Cluster Bootstrap
- set argocd secrets
- github personal access token
- github app for oidc auth
- set external-dns secret
- digitalocean api key
- set cert-manager secret
- digitalocean api key
deploy sealed secrets and ingress-nginx
`just ./argocd-bootstrap/ step1`
re-seal all secrets with fresh key
`just ./argocd-bootstrap/ step2`
deploy cert-manager and external-dns
`just ./argocd-bootstrap/ step3`
deploy argocd
`just ./argocd-bootstrap/ step4`
deploy any projects/applications. ideally these will claim ownership of all resources already deployed
`just ./argocd-bootstrap/ step5`