Werk #19306 · Feb 16, 26
inventory_kube_statefulset: Fix crash when parsing update strategy
Werk #15084 introduced support for the maxUnavailable field for
StatefulSets with RollingUpdate.
The value is displayed in the inventory tree for StatefulSets.
A crash was later discovered which occurred when the field returned an integer rather than a string.
This resulted in a crash of the Kubernetes special agent with a
ValidationError.
This bug is now fixed.
Notably, Kubernetes v1.35 enables the feature gate MaxUnavailableStatefulSet
by default (graduated to Beta), causing this bug to be seen more commonly.
No interaction is required from users to make use of this fix.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b1All Editions
- 2.4.0p22All Editions