sudo snap install fluxctl --classic
kubectl create namespace flux

export GHUSER=sebastianczech
export FLUX_FORWARD_NAMESPACE=flux

fluxctl install \
--git-user=${GHUSER} \
--git-email=${GHUSER}@users.noreply.github.com \
--git-url=git@github.com:${GHUSER}/content-gitops \
--git-path=namespaces,qa \
--namespace=flux | kubectl apply -f -

fluxctl identity
fluxctl identity --k8s-fwd-ns flux

fluxctl list-workloads --all-namespaces
fluxctl sync

kubectl delete namespace flux
kubectl delete namespace lasample

fluxctl install \
--git-user=${GHUSER} \
--git-email=${GHUSER}@users.noreply.github.com \
--git-url=git@github.com:${GHUSER}/content-gitops \
--git-path=namespaces,production \
--namespace=flux | kubectl apply -f -