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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user