Helm install document inaccuracies

Hello,

The document: Netdata Helm chart for Kubernetes deployments | Learn Netdata has a few errors, at least for me, and by reviewing the helm chart, most likely for others using helm with a values.yaml file.

The following configuration entries are not used, and/or misspelled:

notifications.slackurl
notifications.slackrecipiet

Spelling aside, those values don’t do anything, at least for my helm usage which is:
helm upgrade --install -f values.yaml netdata netdata/netdata --namespace=netdata --create-namespace

The correct usage for the slack notifications in a values.yaml file that I found to work is:

parent:
  configs:
    health:
      enabled: true
      data: |
        SEND_EMAIL="NO"
        SEND_SLACK="YES"
        SLACK_WEBHOOK_URL="https://hooks.slack.com/services/foo/bar"
        DEFAULT_RECIPIENT_SLACK="@user"
        role_recipients_slack[sysadmin]="${DEFAULT_RECIPIENT_SLACK}"
        role_recipients_slack[domainadmin]="${DEFAULT_RECIPIENT_SLACK}"
        role_recipients_slack[dba]="${DEFAULT_RECIPIENT_SLACK}"
        role_recipients_slack[webmaster]="${DEFAULT_RECIPIENT_SLACK}"
        role_recipients_slack[proxyadmin]="${DEFAULT_RECIPIENT_SLACK}"
        role_recipients_slack[sitemgr]="${DEFAULT_RECIPIENT_SLACK}"

I can provide more details if wanted/needed.

Hi, @AlienResidents. Yeah, that is a known issue, 1 year ago I opened 2 PR:

I think we need to remove it (1st PR).

Probably don’t remove it, but change the content to something accurate. So, do you need some help? How can I help?

Ok, I fixed it in fix slack notification by ilyam8 · Pull Request #379 · netdata/helmchart · GitHub. Changed config to:

notifications:
  slack:
    webhook_url: ""
    recipient: ""
1 Like

Confirmed working, thanks!