azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

Please provide a JSON example for --service-endpoint-configuration using an aks (azure kubernetes service)

Open ezequielramos opened this issue 5 years ago • 5 comments
trafficstars

I dont know which information is needed.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ezequielramos avatar May 13 '20 19:05 ezequielramos

BTW, I just figured out that the --service-endpoint-configuration has the same content that the value send throw POST request on the DevOps Portal/Platform application when you are adding a service-connection from there.

ezequielramos avatar May 13 '20 19:05 ezequielramos

devops

yonzhan avatar May 14 '20 00:05 yonzhan

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07.

ghost avatar May 26 '20 18:05 ghost

Someone have a example how to create a Kubernetes service connection from Azure CLI ?

survivant avatar Sep 23 '22 17:09 survivant

I added a new issue with a payload example here https://github.com/Azure/azure-cli-extensions/issues/5385

survivant avatar Sep 23 '22 19:09 survivant

@survivant You should be able to use the command like this az devops service-endpoint create --service-endpoint-configuration ./aksServiceConnection.json --org "https://dev.azure.com/issue1698Org" --project "Issue1698Project" image.

You can create a file using the request body mentioned in issue #5385. We will add the same in azure samples. (Adding different kind of json template in the actual document will be difficult).

RakeshMohanMSFT avatar Jan 09 '23 06:01 RakeshMohanMSFT