Werk #15618: KUBE: Trim Trailing Slash in Configured URLs

Komponente Checks & agents
Titel KUBE: Trim Trailing Slash in Configured URLs
Datum 25.05.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This Werk is relevant to users, whom create a new Kubernetes rule.

With this change, one trailing slash will be removed from endpoints. This affects both API server connection and the data collection from the collectors. Specifically, previously specifying the URL

https://<control plane ip>:443/

results in an API call to

https://<control plane ip>:443//version

But now it results in a call to

https://<control plane ip>:443/version

With the new change, specifying

https://<control plane ip>:443//

will results in the behaviour of calling

https://<control plane ip>:443//version

Old configurations are migrated to match the new calling convention. Thus, existing rules are unaffected. Note, this Werk does not implement RFC 3986 URL joining.

Zur Liste aller Werks