kubectl create namespace flux

export FLUX_FORWARD_NAMESPACE=flux
export GHUSER=sebastianczech

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

kubectl -n flux rollout status deployment/flux

fluxctl identity --k8s-fwd-ns flux

fluxctl sync

kubectl get namespaces
kubectl get pods --all-namespaces

fluxctl -n lasample list-workloads
fluxctl -n lasample list-images

fluxctl automate --workload=lasample:deployment/hello
fluxctl release --workload=lasample:deployment/hello --update-image=linuxacademycontent/gitops:hellov1.2