OneLab Kubernetes GitOps (Argo CD)
- Helm charts: onelab app + observability (Loki/Promtail/Grafana) - Values under gitops/values/ with public-safe placeholders - Argo CD Application (spec.sources, 2.6+) Made-with: Cursor
This commit is contained in:
23
gitops/argocd/jsonpatch-multisource.json
Normal file
23
gitops/argocd/jsonpatch-multisource.json
Normal file
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{"op": "remove", "path": "/spec/source"},
|
||||
{"op": "add", "path": "/spec/sources", "value": [
|
||||
{
|
||||
"repoURL": "https://github.com/YOUR_ORG/YOUR_REPO.git",
|
||||
"targetRevision": "main",
|
||||
"path": "gitops/charts/onelab",
|
||||
"helm": {
|
||||
"releaseName": "onelab",
|
||||
"valueFiles": ["../../values/env-example.yaml"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"repoURL": "https://github.com/YOUR_ORG/YOUR_REPO.git",
|
||||
"targetRevision": "main",
|
||||
"path": "gitops/observability",
|
||||
"helm": {
|
||||
"releaseName": "onelab-obs",
|
||||
"valueFiles": ["../../values/observability.yaml"]
|
||||
}
|
||||
}
|
||||
]}
|
||||
]
|
||||
Reference in New Issue
Block a user