Forked from fluxcd/flux2-multi-tenancy repository.
Introduce the Tenant concept to GitOps multi-tenancy scenario with Flux v2.
Please see ARCHITECTURE.md.
clusters/staging/flux-system/gotk-sync.yaml
url: ssh://[email protected]/maxgio92/flux2-capsule-multi-tenancy
tenants/base/dev-team/sync.yaml
url: https://github.com/maxgio92/flux2-capsule-multi-tenancy.git
This is needed to bootstrap Flux configuration to the forked repository and add a deploy key to read from it.
The access token is then discarded and can be revoked.
kind create cluster
export GITHUB_USER=<your-username>
export GITHUB_REPO=<repository-name>
flux bootstrap github \
--owner=${GITHUB_USER} \
--repository=${GITHUB_REPO} \
--branch=main \
--personal \
--path=clusters/staging
git push origin main -f
