![]()
ci/woodpecker/pr/checks Pipeline was successful
Details
ci/woodpecker/push/checks Pipeline was successful
Details
ci/woodpecker/pr/bludit Pipeline was successful
Details
ci/woodpecker/pr/builder Pipeline was successful
Details
ci/woodpecker/push/bludit Pipeline was successful
Details
ci/woodpecker/push/builder Pipeline was successful
Details
|
||
---|---|---|
.woodpecker | ||
apps | ||
cloud | ||
clusters | ||
games | ||
local | ||
power | ||
proxy | ||
README.md | ||
renovate.json |
README.md
private infrastructure setup
- create k8s cluster
- install flux binary local
diagram
setup
- install os (e.g. ubuntu)
- install k3s
ssh <new-k3s-server>
sudo su -
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable traefik --disable servicelb" sh -
configure
During the flux bootstrap there will be some steps to connect flux to your git repo.
# clone repo local
git clone git@codeberg.org:sybnex/infrastructure.git
cd infrastructure
# install flux
curl -s https://fluxcd.io/install.sh | sudo bash
# bootstrap cloud cluster
kubectl config use-context cloud
flux bootstrap git --url=ssh://git@codeberg.org/sybnex/infrastructure --path=clusters/yadda --branch=master
cloud/install.sh
# bootstrap games cluster
kubectl config use-context games
flux bootstrap git --url=ssh://git@codeberg.org/sybnex/infrastructure --path=clusters/games --branch=master
use kubeseal
Install kubeseal according to kubeseal@github
Create an kubernetes secret and pipe it trough kubeseal or use an existing one, e.g.:
kubectl -n woodpecker get secret woodpecker-secret -o yaml | kubeseal -o yaml