Werk #10740: Kubernetes: don't crash on invalid roles

Component Checks & agents
Title Kubernetes: don't crash on invalid roles
Date Jan 30, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The kubernetes special agent crashed with the message {{ Invalid value for rules, must not be NoneCRIT }} if a role without rules was configured in a cluster. This is fixed.

To the list of all Werks