Files
kube-prometheus/examples/continuous-delivery/argocd
Mart Roosmaa c11655a56d Argo-CD example improvements (#2200)
* Sync ArgoCD example with latest components from example.jsonnet

* Extend the ArgoCD example to include ArgoCD related annotations to make everything work on first try

* Run jsonnetfmt
2023-08-31 22:21:19 +01:00
..
2020-08-28 11:39:27 -04:00
2020-08-28 11:39:27 -04:00
2023-08-31 22:21:19 +01:00

ArgoCD Example

This is the simplest, working example of an argocd app, the JSON object built is now an array of objects as that is the prefered format for ArgoCD. And ArgoCD specific annotations are added to manifests.

Requirements:

  • ArgoCD 1.7+

  • Follow the vendor generation steps at the root of this repository and generate a vendored folder (referenced in application.yaml).

  • Make sure that argocd-cm has application.instanceLabelKey set to something else than app.kubernetes.io/instance, otherwise it will cause problems with prometheus target discovery. (see also Why Is My App Out Of Sync Even After Syncing?)