From 7aa789d1cfa03c169a87ebd0e47484dcb98963f9 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Mon, 13 Jul 2026 19:07:15 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20ajouter=20credentials=20gitea=20pour=20r?= =?UTF-8?q?epos=20priv=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- argocd/templates/apps.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/argocd/templates/apps.yaml b/argocd/templates/apps.yaml index fe6f094..10c0bb4 100644 --- a/argocd/templates/apps.yaml +++ b/argocd/templates/apps.yaml @@ -18,6 +18,14 @@ spec: repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }} targetRevision: HEAD path: chart + {{- if eq $org "arcodange" }} + usernameSecret: + name: gitea-credentials + key: username + passwordSecret: + name: gitea-credentials + key: password + {{- end }} destination: server: https://kubernetes.default.svc namespace: {{ $app_name }} @@ -56,6 +64,14 @@ spec: repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }} targetRevision: HEAD path: chart + {{- if eq $org "arcodange" }} + usernameSecret: + name: gitea-credentials + key: username + passwordSecret: + name: gitea-credentials + key: password + {{- end }} helm: valueFiles: - values.yaml @@ -74,4 +90,4 @@ spec: syncOptions: - CreateNamespace=true {{- end }} -{{ end }} \ No newline at end of file +{{ end }}