Tags | kubernetes fluxcd |
Hard Prerequisites | |
IMPORTANT: Please review these prerequisites, they include important information that will help you with this content. | |
|
|
Soft Prerequisites |
|
first we install the fluxCD cli
curl -s https://fluxcd.io/install.sh | sudo bash
next create a github personal access token (We will use the classic token for this course)
export GITHUB_TOKEN=<gh-token>
export GITHUB_USER=<my-github-username>
flux bootstrap github \
--token-auth \
--components-extra=image-reflector-controller,image-automation-controller \
--owner=my-github-username \
--repository=my-repository-name \
--branch=main \
--path=clusters/my-cluster \
--personal \
--read-write-key=true
A few things are happening here
# remember to pull the commit that flux made before continuing
git pull