-
Mart Roosmaa authored
* 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
Mart Roosmaa authored* 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
README.md 733 B
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 inapplication.yaml
). -
Make sure that argocd-cm has
application.instanceLabelKey
set to something else thanapp.kubernetes.io/instance
, otherwise it will cause problems with prometheus target discovery. (see also Why Is My App Out Of Sync Even After Syncing?)