No description
Find a file
2024-02-27 15:44:28 +01:00
.gitlab/agents/k8s-ldc-web Install flux agent 2024-02-27 14:50:07 +00:00
common-services Install flux agent 2024-02-27 14:50:07 +00:00
examples Modification nom de domaine final 2023-02-07 08:55:37 +00:00
flux/staging/flux-system Install flux agent 2024-02-27 14:50:07 +00:00
namespaces Update file common-services.yaml 2023-03-17 14:27:35 +00:00
tmp-common-services Install flux agent 2024-02-27 14:50:07 +00:00
values Install flux agent 2024-02-27 14:50:07 +00:00
.gitlab-ci.yml reformat common-services 2024-02-27 15:44:28 +01:00
README.md Install flux agent 2024-02-27 14:50:07 +00:00

Cluster K8s

Init flux agent

Install flux CLI

curl -s https://fluxcd.io/install.sh | sudo bash 

Create flux agent for staging

You need to be connected in dev-cluster-k8s by kubeconfig.

export GITLAB_TOKEN=<cluster-k8s-flux-token-api>
flux bootstrap gitlab \
--hostname=lab.s-web.fr \
--owner=ldc-web \
--repository=cluster-k8s \
--branch=deploy/staging \
--path=flux/staging \
--deploy-token-auth