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.