diff --git a/configs/config.json.example b/configs/config.json.example index cc01469..7dd8ced 100644 --- a/configs/config.json.example +++ b/configs/config.json.example @@ -3,9 +3,5 @@ "name": "cluster-dev", "repository": "https://git.gkdomaine.fr/kubernetes/argocd.git", "targetRevision": "main", - "helmPath": "helm", - "autoSync": true, - "prune": true, - "selfHeal": true, - "CreateNamespace": true + "helmPath": "helm" } diff --git a/configs/prd/config.json b/configs/prd/config.json new file mode 100644 index 0000000..09c4bd8 --- /dev/null +++ b/configs/prd/config.json @@ -0,0 +1,7 @@ +{ + "environment": "prd", + "name": "cluster-prd", + "repository": "https://git.gkdomaine.fr/kubernetes/argocd.git", + "targetRevision": "main", + "helmPath": "helm" +} diff --git a/helm/headlamp/prd/Chart.lock b/helm/headlamp/prd/Chart.lock new file mode 100644 index 0000000..b48523b --- /dev/null +++ b/helm/headlamp/prd/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: headlamp + repository: oci://harbor.example.com/charts + version: 0.38.0 +digest: sha256:245828591da65038e4ee0697c3e37ee2ac920e9edeff458f9bb9ce9726162ea5 +generated: "2025-12-30T18:38:14.4041743+01:00" diff --git a/helm/headlamp/prd/Chart.yaml b/helm/headlamp/prd/Chart.yaml new file mode 100644 index 0000000..ae5b7fa --- /dev/null +++ b/helm/headlamp/prd/Chart.yaml @@ -0,0 +1,11 @@ +apiVersion: v2 +name: headlamp-wrapper +description: Wrapper pour headlamp - Environnement DEV +type: application +version: 1.0.0 + +dependencies: + - name: headlamp + version: 0.38.0 # Assurez-vous que cette version correspond à celle poussée sur Harbor + # Utilisation de votre registre Harbor interne (OCI) + repository: "oci://harbor.gkdomaine.local/charts" \ No newline at end of file diff --git a/helm/headlamp/prd/charts/headlamp-0.38.0.tgz b/helm/headlamp/prd/charts/headlamp-0.38.0.tgz new file mode 100644 index 0000000..aac443a Binary files /dev/null and b/helm/headlamp/prd/charts/headlamp-0.38.0.tgz differ diff --git a/helm/headlamp/prd/values.yaml b/helm/headlamp/prd/values.yaml new file mode 100644 index 0000000..0b531d2 --- /dev/null +++ b/helm/headlamp/prd/values.yaml @@ -0,0 +1,17 @@ +# Toutes les configurations destinées au chart Nextcloud +# doivent être indentées sous la clé 'nextcloud' +headlamp: + replicaCount: 1 + + image: + # On remplace ghcr.io par votre Harbor + registry: harbor.gkdomaine.local + # On remplace le chemin d'origine par votre projet 'images' + repository: images/headlamp + # On précise le tag que vous avez poussé avec le script + tag: "v0.38.0" + pullPolicy: IfNotPresent + + # Si votre projet Harbor 'images' est en PRIVÉ, + # vous devrez créer un secret Kubernetes et le renseigner ici : + imagePullSecrets: [] \ No newline at end of file