Update Argo CD application configuration to use HEAD as the target revision in both root-application.yaml and noble-platform.yaml, enhancing clarity in documentation regarding repository tracking. This change supports a more dynamic reference to the latest code in the repository.

This commit is contained in:
Nikholas Pcenicni
2026-03-28 02:20:35 -04:00
parent 05717c7e6a
commit 1a3c8378d4
2 changed files with 5 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
# Multi-source: native Helm (no Kustomize helmCharts → no **--enable-helm**). Git **ref: values** # Multi-source: native Helm (no Kustomize helmCharts → no **--enable-helm**). One Git source uses
# supplies **$values/...** paths; second Git entry runs plain Kustomize over **clusters/noble/apps**. # **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** # 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. # still reflects the merged set. **ServerSideApply** avoids huge CRD client-side apply annotations.
@@ -88,10 +88,8 @@ spec:
valueFiles: valueFiles:
- $values/clusters/noble/apps/headlamp/values.yaml - $values/clusters/noble/apps/headlamp/values.yaml
- repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git - repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: main targetRevision: HEAD
ref: values ref: values
- repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: main
path: clusters/noble/apps path: clusters/noble/apps
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc

View File

@@ -1,6 +1,6 @@
# App-of-apps root — apply after Argo CD is running. # 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 # 2. kubectl apply -f clusters/noble/bootstrap/argocd/root-application.yaml
# #
# Syncs **Application** YAMLs under **apps/** (today: **noble-platform**). Cluster # Syncs **Application** YAMLs under **apps/** (today: **noble-platform**). Cluster
@@ -21,7 +21,7 @@ spec:
project: default project: default
source: source:
repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: main targetRevision: HEAD
path: clusters/noble/bootstrap/argocd/apps path: clusters/noble/bootstrap/argocd/apps
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc