flux bootrap command update for v2

This commit is contained in:
marcel-dempers 2023-09-26 09:43:04 +10:00
parent 8a12d9bdef
commit cb11199f37

View File

@ -224,14 +224,15 @@ To do this we just need to re-bootstrap `flux` with an addition flag
``` ```
flux bootstrap github \ flux bootstrap github \
--token-auth \
--owner=marcel-dempers \ --owner=marcel-dempers \
--repository=docker-development-youtube-series \ --repository=docker-development-youtube-series \
--path=kubernetes/fluxcd/repositories/config/clusters/dev-cluster \ --path=kubernetes/fluxcd/repositories/infra-repo/clusters/dev-cluster \
--components-extra=image-reflector-controller,image-automation-controller \ --components-extra=image-reflector-controller,image-automation-controller \
--personal \ --personal \
--branch fluxcd-2022 --branch fluxcd-2022
``` ```
We need to create a image reigsitry credential where we will push our image: We need to create a image registry credential where we will push our image:
``` ```
kubectl -n default create secret docker-registry dockerhub-credential --docker-username '' --docker-password '' --docker-email 'test@test.com' kubectl -n default create secret docker-registry dockerhub-credential --docker-username '' --docker-password '' --docker-email 'test@test.com'