diff --git a/gitops/README.md b/gitops/README.md index b333330..b345194 100644 --- a/gitops/README.md +++ b/gitops/README.md @@ -2,5 +2,15 @@ https://www.reddit.com/r/GitOps/comments/1ih3b4a/discussion_setting_up_fluxcd_on https://bash.ghost.io/k8s-home-lab-gitops-with-fluxcd/ +# Setup using internal Gitea server +## Create a Gitea personal access token and export it as an env var +``` +export GITEA_TOKEN= +``` +## Bootstrap +``` +flux bootstrap gitea --repository=k3s-homelab --branch=main --personal --owner baschno --hostname gitty.homeee.schnorbus.net --ssh-hostname=gitty.fritz.box:2221 --verbose --path=./clusters/homelab +``` + https://bash.ghost.io/secure-kubernetes-secrets-disaster-recovery-with-sops-gitops-fluxcd/