Bootstrap Manifests for the new K8s cluster "hive"
Simply template and apply bootstrap.jsonnet against your cluster
jsonnet -y boostrap.jsonnet | kubectl -n argocd apply -f -
If you want to apply a fork or branch of this repository, you can do this via TLAs
jsonnet -y --tla-str repoURL=https://github.com/mycool/fork.git --tla-str revision=my-branch boostrap.jsonnet | kubectl -n argocd apply -f -
Note that if you fork this repo to apply it to your own cluster, make sure to read the notes on credentials and forking
First, remove the root app, which will cleanup all components except ArgoCD itself
kubectl -n argocd delete applications bootstrap
Then remove ArgoCD itself using bootstrap jsonnet
jsonnet -y bootstrap.jsonnet | kubectl -n argocd delete -f - --ignore-not-found
To achieve a complete GitOps flow, all secrets are also version controlled as sealed secrets. Rotating all sealing keys or applying against a cluster with different sealing keys requires some extra care (details)