diff --git a/clusters/noble/bootstrap/argocd/apps/noble-platform.yaml b/clusters/noble/bootstrap/argocd/apps/noble-platform.yaml index 58d77fe..65f9b8c 100644 --- a/clusters/noble/bootstrap/argocd/apps/noble-platform.yaml +++ b/clusters/noble/bootstrap/argocd/apps/noble-platform.yaml @@ -1,5 +1,5 @@ -# Multi-source: native Helm (no Kustomize helmCharts → no **--enable-helm**). Git **ref: values** -# supplies **$values/...** paths; second Git entry runs plain Kustomize over **clusters/noble/apps**. +# Multi-source: native Helm (no Kustomize helmCharts → no **--enable-helm**). One Git source uses +# **ref: values** (for **$values/...**) and **path** (Kustomize) together — see multiple_sources docs. # # UI: some Argo CD versions summarize multi-source apps oddly in the graph; the **Resource list** # still reflects the merged set. **ServerSideApply** avoids huge CRD client-side apply annotations. @@ -88,10 +88,8 @@ spec: valueFiles: - $values/clusters/noble/apps/headlamp/values.yaml - repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git - targetRevision: main + targetRevision: HEAD ref: values - - repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git - targetRevision: main path: clusters/noble/apps destination: server: https://kubernetes.default.svc diff --git a/clusters/noble/bootstrap/argocd/root-application.yaml b/clusters/noble/bootstrap/argocd/root-application.yaml index b5db2d1..20eddea 100644 --- a/clusters/noble/bootstrap/argocd/root-application.yaml +++ b/clusters/noble/bootstrap/argocd/root-application.yaml @@ -1,6 +1,6 @@ # App-of-apps root — apply after Argo CD is running. # -# 1. Set spec.source.repoURL (and targetRevision) to this git repository. +# 1. Set spec.source.repoURL (and targetRevision — **HEAD** tracks the remote default branch) to this repo. # 2. kubectl apply -f clusters/noble/bootstrap/argocd/root-application.yaml # # Syncs **Application** YAMLs under **apps/** (today: **noble-platform**). Cluster @@ -21,7 +21,7 @@ spec: project: default source: repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git - targetRevision: main + targetRevision: HEAD path: clusters/noble/bootstrap/argocd/apps destination: server: https://kubernetes.default.svc