TsuyoshiUshio / KubernetesTask

Kubernetes Task for Visual Studio Team Services
34 stars 14 forks source link

endpoint connection data not presented when trying to create a service endpoint #28

Open giorafrog opened 6 years ago

giorafrog commented 6 years ago

hi, installed the extension and can create kubectl task, but when trying to create a service endpoint to connect to, the dialog for entering the connection data is not displayed. (can't attach screenshots, as it is a segregated environment)

TsuyoshiUshio commented 6 years ago

Thank you for your feedback. I tried. However, it works. Maybe we have different environment. Do you use VSTS or TFS?
Also, I recommend to use k8s downloader + kubectl exec instead. k8s downloader also have the endpoint. Could you try that? Also, you might see something, if you done it by debug mode.

Could you go Variables and set system.debug = true and see what happens?

xingyu217 commented 6 years ago

@TsuyoshiUshio The issue occurs when create a Kubernetes service endpoint (TFS2015) and it throws "Unable to get property '0' of undefined or null reference TFS.Admin.ServiceEndpoints.Controls.js (4,4028)" error in console. The issue may related to authenticationSchemes[0].scheme,

TsuyoshiUshio commented 6 years ago

Hi @xingyu217 . Unfortunately, this task doesn't support TFS 2015. The production team said that they change the endpoint spec after that. A gentlemen try to folk this repo and fit to the TFS 2015. Only problem is the endpoint.