fix(argocd): retire usernameSecret/passwordSecret de spec.source — champs inexistants du CRD Application
Ces champs (commit 7aa789d1) n'existent pas dans le schéma Application
d'ArgoCD : l'API server les élague à l'apply, d'où un diff permanent →
factory OutOfSync en boucle (296 tentatives selfHeal) sur kadans,
telegram-gateway et dance-lessons-coach. L'authentification aux repos
privés passe par un secret repo-creds (label
argocd.argoproj.io/secret-type: repo-creds, url préfixe
https://gitea.arcodange.lab/arcodange) — corrigé côté cluster sur le
secret gitea-credentials existant.
Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
@@ -18,14 +18,6 @@ spec:
|
|||||||
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: chart
|
path: chart
|
||||||
{{- if eq $org "arcodange" }}
|
|
||||||
usernameSecret:
|
|
||||||
name: gitea-credentials
|
|
||||||
key: username
|
|
||||||
passwordSecret:
|
|
||||||
name: gitea-credentials
|
|
||||||
key: password
|
|
||||||
{{- end }}
|
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: {{ $app_name }}
|
namespace: {{ $app_name }}
|
||||||
@@ -64,14 +56,6 @@ spec:
|
|||||||
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
repoURL: https://gitea.arcodange.lab/{{ $org }}/{{ $app_name }}
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: chart
|
path: chart
|
||||||
{{- if eq $org "arcodange" }}
|
|
||||||
usernameSecret:
|
|
||||||
name: gitea-credentials
|
|
||||||
key: username
|
|
||||||
passwordSecret:
|
|
||||||
name: gitea-credentials
|
|
||||||
key: password
|
|
||||||
{{- end }}
|
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- values.yaml
|
- values.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user