Werk #13410: KUBE: Adapt kubernetes labels to Checkmk's labelling requirements

Component Checks & agents
Title KUBE: Adapt kubernetes labels to Checkmk's labelling requirements
Date Mar 1, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Kubernetes labels can have empty strings as values for labels (for example node-role.kubernetes.io/control-plane:). In checkmk labels can not have an empty value.

In order to have valid labels in checkmk, empty labels values are replaced with true.

To the list of all Werks