Skip to content

BronzeDeer/hive-bootstrap

Repository files navigation

hive-bootstrap

Bootstrap Manifests for the new K8s cluster "hive"

Quickstart

Simply template and apply bootstrap.jsonnet against your cluster

jsonnet -y boostrap.jsonnet | kubectl -n argocd apply -f -

Forks and Branches

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

Uninstalling

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

Credentials

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)

About

Bootstrap Manifests for the new K8s cluster "hive"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published