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 -----------------------------------------