From 2a2d75d448ea50b6e2ac4028d5e89b0b77347b3d Mon Sep 17 00:00:00 2001 From: baptiste Date: Thu, 23 Jul 2026 00:11:24 +0200 Subject: [PATCH] Restructure repository around homelab cluster composition --- {applications => apps}/web-test/kustomization.yaml | 0 {applications => apps}/web-test/pod.yaml | 0 {applications => apps}/web-test/pvc.yaml | 0 {applications => apps}/web-test/web-ingress.yaml | 0 bootstrap/argocd/root-application.yaml | 2 +- clusters/homelab/apps/kustomization.yaml | 6 ++++++ {bootstrap/argocd => clusters/homelab}/apps/metallb.yaml | 0 .../argocd => clusters/homelab}/apps/web-test.yaml | 2 +- docs/README.md | 3 +++ platform/README.md | 9 +++++++++ 10 files changed, 20 insertions(+), 2 deletions(-) rename {applications => apps}/web-test/kustomization.yaml (100%) rename {applications => apps}/web-test/pod.yaml (100%) rename {applications => apps}/web-test/pvc.yaml (100%) rename {applications => apps}/web-test/web-ingress.yaml (100%) create mode 100644 clusters/homelab/apps/kustomization.yaml rename {bootstrap/argocd => clusters/homelab}/apps/metallb.yaml (100%) rename {bootstrap/argocd => clusters/homelab}/apps/web-test.yaml (93%) create mode 100644 docs/README.md create mode 100644 platform/README.md diff --git a/applications/web-test/kustomization.yaml b/apps/web-test/kustomization.yaml similarity index 100% rename from applications/web-test/kustomization.yaml rename to apps/web-test/kustomization.yaml diff --git a/applications/web-test/pod.yaml b/apps/web-test/pod.yaml similarity index 100% rename from applications/web-test/pod.yaml rename to apps/web-test/pod.yaml diff --git a/applications/web-test/pvc.yaml b/apps/web-test/pvc.yaml similarity index 100% rename from applications/web-test/pvc.yaml rename to apps/web-test/pvc.yaml diff --git a/applications/web-test/web-ingress.yaml b/apps/web-test/web-ingress.yaml similarity index 100% rename from applications/web-test/web-ingress.yaml rename to apps/web-test/web-ingress.yaml diff --git a/bootstrap/argocd/root-application.yaml b/bootstrap/argocd/root-application.yaml index aafb8ae..b328f65 100644 --- a/bootstrap/argocd/root-application.yaml +++ b/bootstrap/argocd/root-application.yaml @@ -11,7 +11,7 @@ spec: source: repoURL: 'gitea@172.16.2.52:baptiste/k8s.git' targetRevision: main - path: bootstrap/argocd/apps + path: clusters/homelab/apps destination: server: https://kubernetes.default.svc diff --git a/clusters/homelab/apps/kustomization.yaml b/clusters/homelab/apps/kustomization.yaml new file mode 100644 index 0000000..a84b331 --- /dev/null +++ b/clusters/homelab/apps/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - metallb.yaml + - web-test.yaml diff --git a/bootstrap/argocd/apps/metallb.yaml b/clusters/homelab/apps/metallb.yaml similarity index 100% rename from bootstrap/argocd/apps/metallb.yaml rename to clusters/homelab/apps/metallb.yaml diff --git a/bootstrap/argocd/apps/web-test.yaml b/clusters/homelab/apps/web-test.yaml similarity index 93% rename from bootstrap/argocd/apps/web-test.yaml rename to clusters/homelab/apps/web-test.yaml index dbe6e96..c65f585 100644 --- a/bootstrap/argocd/apps/web-test.yaml +++ b/clusters/homelab/apps/web-test.yaml @@ -11,7 +11,7 @@ spec: source: repoURL: 'gitea@172.16.2.52:baptiste/k8s.git' targetRevision: main - path: applications/web-test + path: apps/web-test destination: server: https://kubernetes.default.svc diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..a52749e --- /dev/null +++ b/docs/README.md @@ -0,0 +1,3 @@ +# Documentation + +Documentation d'installation, d'exploitation, de sauvegarde et de restauration du cluster Kubernetes. diff --git a/platform/README.md b/platform/README.md new file mode 100644 index 0000000..0cf1988 --- /dev/null +++ b/platform/README.md @@ -0,0 +1,9 @@ +# Platform + +Composants de plateforme partagés par les applications : + +- gestion des secrets ; +- authentification ; +- registre d'images ; +- automatisation des mises à jour ; +- services transverses.