Show debug information about connecting to the Kubernetes cluster in GitLab's UI
Problem to solve
When connecting Gitlab community edition with kubernetes, not enough detailed status information is returned on connection failure.
Intended users
Everyone who wants to connect gitlab to kubernetes, and isn't able to do so due to connection issues (most of the time certificate issues).
Further details
Currently people lose hours in debugging this feature due to missing status information, this could me more descriptive as to aid in troubleshooting.
Proposal
Make contact with the kubernetes api, if that's not successful, use curl without the --insecure flag to test the connection and return it's output on the gitlab web gui for troubleshooting purposes.
Edited by Dylan Griffith