Werk #14555: KUBE: kube_pod_containers replaces \n in check summary

Component Checks & agents
Title KUBE: kube_pod_containers replaces \n in check summary
Date Sep 2, 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.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the check kube_pod_containers would crash with

raise ValueError("'\\n' not allowed in 'summary'")

This was because any linebreak in the detailed description of the container state was written to the checks summary. With this werk, linebreaks are replaced with '; '.

To the list of all Werks