When trying to validate a new adapter/auto-created adapter instance which might be in "Warning" state, Validate connection might fail with
"Error in fetching the version of Kubernetes control plane- <CONTROL_PLANE_URL>"
VMware Aria Operations Management Pack for Kubernetes 2.2
The adapter checks for minor versions of Kubernetes which is expected to be a numeric value, but in this instance it could receive a response with special character.
Example : 30+ (+ is unexpected)
Note : To check minor version use the below command
curl -k https://<CONTROL_PLANE_URL>/version