From f8009989fc19b2b95608d1a8a35160545b6ae2e0 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Wed, 6 May 2026 08:00:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20ci(argocd):=20enroll=20dance-les?= =?UTF-8?q?sons-coach=20+=20per-app=20org=20override=20in=20apps=20templat?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds dance-lessons-coach to the ArgoCD-managed gitea_applications. Extends apps.yaml template with a per-app org override (default arcodange-org) since dance-lessons-coach lives in the arcodange org rather than arcodange-org. Backward-compatible: existing apps render identically. After merge, ArgoCD will sync the chart/ folder of dance-lessons-coach into the dance-lessons-coach namespace on k3s. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- argocd/templates/apps.yaml | 3 ++- argocd/values.yaml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/argocd/templates/apps.yaml b/argocd/templates/apps.yaml index 381a57e..50d9990 100644 --- a/argocd/templates/apps.yaml +++ b/argocd/templates/apps.yaml @@ -1,4 +1,5 @@ {{- range $app_name, $app_attr := .Values.gitea_applications -}} +{{- $org := default "arcodange-org" $app_attr.org -}} --- apiVersion: argoproj.io/v1alpha1 kind: Application @@ -14,7 +15,7 @@ metadata: spec: project: default source: - repoURL: https://gitea.arcodange.lab/arcodange-org/{{ $app_name }} + repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }} targetRevision: HEAD path: chart destination: diff --git a/argocd/values.yaml b/argocd/values.yaml index 23e0085..0f7abfd 100644 --- a/argocd/values.yaml +++ b/argocd/values.yaml @@ -16,6 +16,11 @@ gitea_applications: annotations: argocd-image-updater.argoproj.io/image-list: cms=gitea.arcodange.lab/arcodange-org/cms:latest argocd-image-updater.argoproj.io/cms.update-strategy: digest + dance-lessons-coach: + org: arcodange + annotations: + argocd-image-updater.argoproj.io/image-list: dance-lessons-coach=gitea.arcodange.lab/arcodange/dance-lessons-coach:latest + argocd-image-updater.argoproj.io/dance-lessons-coach.update-strategy: digest argocd_image_updater_chart_values: config: