-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{k8s-extension} fixes Azure/azure-cli-extensions#5384 #5388
Conversation
fixes Azure#5384 While running the CLi command: az k8s-extension extension-types list it fails with below error: ``` (NoRegisteredProviderFound) No registered resource provider found for location 'westeurope' and API version '2022-01-15-preview' for type 'connectedClusters'. The supported api-versions are '2020-01-01-preview, 2021-03-01, 2021-04-01-preview, 2021-10-01, 2022-05-01-preview'. The supported locations are 'westeurope, eastus, westcentralus, southcentralus, southeastasia, uksouth, eastus2, westus2, australiaeast, northeurope, francecentral, centralus, westus, northcentralus, koreacentral, japaneast, westus3, eastasia, canadacentral'. Code: NoRegisteredProviderFound Message: No registered resource provider found for location 'westeurope' and API version '2022-01-15-preview' for type 'connectedClusters'. The supported api-versions are '2020-01-01-preview, 2021-03-01, 2021-04-01-preview, 2021-10-01, 2022-05-01-preview'. The supported locations are 'westeurope, eastus, westcentralus, southcentralus, southeastasia, uksouth, eastus2, westus2, australiaeast, northeurope, francecentral, centralus, westus, northcentralus, koreacentral, japaneast, westus3, eastasia, canadacentral'. ``` The api-version should be : 2022-04-02-preview Invoking the below with this api-version works fine: az rest --method GET --uri https://management.azure.com/subscriptions/XXXXX-XXX-XXXX-XXX/resourceGroups/MyRGName/providers/Microsoft.ContainerService/**MyClusterType**/MyClusterName/providers/Microsoft.KubernetesConfiguration/extensions?api-version=2022-04-02-preview
k8s-extension |
/azp where |
Azure DevOps orgs getting events for this repository: |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Do you need to upgrade the extension version to release the bug fix? If so, please also modify the |
/azp run |
Commenter does not have sufficient privileges for PR 5388 in repo Azure/azure-cli-extensions |
@zhoxing-ms Thanks for approving this. Could you also merge this once the tests have been successfully completed ? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
[Release] Update index.json for extension [ k8s-extension ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=6432&view=results |
fixes #5384
While running the CLi command: az k8s-extension extension-types list it fails with below error:
The api-version should be : 2022-04-02-preview
Invoking the below with this api-version works fine: az rest --method GET --uri https://management.azure.com/subscriptions/XXXXX-XXX-XXXX-XXX/resourceGroups/MyRGName/providers/Microsoft.ContainerService/**MyClusterType**/MyClusterName/providers/Microsoft.KubernetesConfiguration/extensions?api-version=2022-04-02-preview
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json
.