/kind bug
Kubernetes 36.0.2 generates the read_namespaced_pod_log parameter
documentation as:
:param follow: Follow the log stream of the pod.
:type follow: bool
Watch.get_watch_argument_name still looks for the older
:param bool follow: form. It therefore classifies this as a resource watch
and injects watch=True instead of follow=True. The generated client then
raises ApiTypeError because watch is not accepted by the pod log method.
The existing test_watch_for_follow fixture also uses the obsolete docstring
shape, so it does not catch the regression.
/kind bug
Kubernetes 36.0.2 generates the
read_namespaced_pod_logparameterdocumentation as:
Watch.get_watch_argument_namestill looks for the older:param bool follow:form. It therefore classifies this as a resource watchand injects
watch=Trueinstead offollow=True. The generated client thenraises
ApiTypeErrorbecausewatchis not accepted by the pod log method.The existing
test_watch_for_followfixture also uses the obsolete docstringshape, so it does not catch the regression.