Customize terraform/terraform.tfvars
to your choosing and run terraform apply
.
- Get credentials:
$ gcloud container clusters get-credentials --region=europe-west1 interview --project=platform-interview-3568
- Switch kube context:
$ kubectl config use-context gke_platform-interview-3568_europe-west1_interview
- Apply bootstrap configuration:
$ cd manifests/bootstrap && kubectl apply -k .
- Patch in a github personal access token to the repository secret:
$ kubectl patch secrets platform-interview-repo \
-n argocd \
-p "{\"stringData\":{\"username\":\"GITHUB_USERNAME\",\"password\":\"PERSONAL_ACCESS_TOKEN\"}}"
- Port-forward to UI:
$ kubectl port-forward service/argocd-server -n argocd 8080:80
- Log in with user
admin
, passwordmittatb