robusta icon indicating copy to clipboard operation
robusta copied to clipboard

At least one sink must be defined - Using ArgoCD

Open AlissonRS opened this issue 1 year ago • 2 comments

I used robusta CLI to generate a generated_values.yaml for me.

This is how it looks:

globalConfig:
  signing_key: <some_guid>
  account_id: <some_guid>
sinksConfig:
  - discord_sink:
      name: personal_discord_sink
      url: https://discord.com/api/webhooks/123456789
disableCloudRouting: true
runner:
  sendAdditionalTelemetry: true
clusterName: my-cluster

So it does have a sink (using my actual webhook URL), but installing it with Helm via ArgoCD produces the error below:

failed exit status 1: Error: execution error at (Robusta/charts/robusta/templates/playbooks-config.yaml:9:7): At least one sink must be defined! Use --debug flag to render out invalid YAML

From Argo UI we can see the parameter is detected (so it's properly formatted):

image

If I install the exact same values.yaml via helm CLI from my local machine, it works fine, it's only failing via Argo.

Not sure if it makes a difference, but it's actually being installed as a subchart as I'm using Argo's ApplicationSet.

AlissonRS avatar Mar 25 '24 01:03 AlissonRS

Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can!

  • 💬 Slack Community: Join Robusta team and other contributors on Slack here.
  • 📖 Docs: Find our documentation here.
  • 🎥 YouTube Channel: Watch our videos here.

github-actions[bot] avatar Mar 25 '24 01:03 github-actions[bot]

Weird, not sure what is going on. Is there a way to get more debug info out of Argo?

Or could you share more details including the Argo ApplicationSet and any other relevant config?

aantn avatar Mar 26 '24 23:03 aantn