I am trying to set up the 6.2 zabbix helm chart so we can replace our existing kubernetes monitoring. We have some custom resources we have to check with zabbix (eg. pxc cluster state). For this to work I need to add some additional rules to the "
zabbix-zabbix-helm-chrt" cluster role.
There is a value in values.yml for this:
I can't figure out how to use this, if I replace the default empty array with the commented example values, I get an error when deploying with helm:
Error: UPGRADE FAILED: YAML parse error on zabbix-helm-chrt/templates/cluster-role.yaml: error converting YAML to JSON: yaml: line 51: did not find expected key
Colud you help how to use this value correctly?
Thanks in advance!
zabbix-zabbix-helm-chrt" cluster role.
There is a value in values.yml for this:
Code:
rbac:
## rbac.create Specifies whether the RBAC resources should be created
create: true
additionalRulesForClusterRole:
- apiGroups: [ "" ]
resources:
- nodes/proxy
verbs: [ "get", "list", "watch" ]
Error: UPGRADE FAILED: YAML parse error on zabbix-helm-chrt/templates/cluster-role.yaml: error converting YAML to JSON: yaml: line 51: did not find expected key
Colud you help how to use this value correctly?
Thanks in advance!