Closed rahulinux closed 7 years ago
Unfortunately this is an issue with the API spec [1]. In the spec for port
, the type is integer (int32)
, while the type of targetPort
is string
. We could probably work around this by adding a special case or something like that.
If you want to propose adding a special case workaround, please file the issue against https://github.com/openshift/openshift-restclient-python, where the logic for this resides.
Error
Example
After removing target_port, as per doc, it will use port value, it works. but after re-run playbook, it throw msg
Failed to patch object: unrecognized type: int32
Why target_port type is str and port type is int ?