From 5314fac6568640e0b79498ce54393e212b3282a2 Mon Sep 17 00:00:00 2001 From: Robusta Runner Date: Sun, 2 Jun 2024 16:18:54 +0300 Subject: [PATCH] as described on github - thank you mckernanin https://github.com/robusta-dev/robusta/issues/1314 --- docs/setup-robusta/gitops/argocd.rst | 32 +++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/docs/setup-robusta/gitops/argocd.rst b/docs/setup-robusta/gitops/argocd.rst index e3585a86e..addeb4f45 100644 --- a/docs/setup-robusta/gitops/argocd.rst +++ b/docs/setup-robusta/gitops/argocd.rst @@ -60,7 +60,7 @@ Example ``generated_values.yaml``: Read this guide about :ref:`Managing Secrets`. -Configure ArgoCD +Configure ArgoCD in the UI -------------------------------- Create a ``NEW APP`` in ArgoCD and fill in the following settings. @@ -122,6 +122,36 @@ Finally, run ``robusta logs`` from your cli and make sure there is no error. To solve it, use the workaround proposed `here `_ +Configure ArgoCD Declaratively +-------------------------------- + +First generate a Helm values file for Robusta, as described above. + +Then create an Argo Application which references that values file: + +.. code-block:: yaml + + apiVersion: argoproj.io/v1alpha1 + kind: Application + metadata: + name: robusta + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io + spec: + destination: + server: https://kubernetes.default.svc + namespace: robusta + project: default + sources: + - chart: robusta + repoURL: https://robusta-charts.storage.googleapis.com + targetRevision: + helm: + valueFiles: + # path to the values file for Robusta - generate it as described above + - generated_values.yaml + Configuring Argo Links -----------------------------------------