-
Notifications
You must be signed in to change notification settings - Fork 78
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
ManagedIdentities: The api-version '2022-01-31-preview' is invalid. #630
Comments
Hi @pmdevers, The
|
Thanks!!, that was it |
I've encountered the same issue during creation of a apiVersion: containerservice.azure.upbound.io/v1beta1
kind: KubernetesCluster
spec:
forProvider:
resourceGroupNameSelector:
matchControllerRef: true
matchLabels:
resource-group: cluster
status:
atProvider: {}
conditions:
- lastTransitionTime: "2024-02-09T12:29:46Z"
message: |-
async create failed: failed to create the resource: [{0 checking for presence of existing Managed Cluster (Subscription: "d3793524-71ca-4aa2-ac73-19284641f6d0"
Resource Group Name: ""
Managed Cluster Name: "g5n-cl-dev-01-xx8fg-qd48t"): managedclusters.ManagedClustersClient#Get: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidApiVersionParameter" Message="The api-version '2023-02-02-preview' is invalid. The supported versions are '2023-07-01,2023-07-01-preview,2023-03-01-preview,2022-12-01,2022-11-01-preview,2022-09-01,2022-06-01,2022-05-01,2022-03-01-preview,2022-01-01,2021-04-01,2021-01-01,2020-10-01,2020-09-01,2020-08-01,2020-07-01,2020-06-01,2020-05-01,2020-01-01,2019-11-01,2019-10-01,2019-09-01,2019-08-01,2019-07-01,2019-06-01,2019-05-10,2019-05-01,2019-03-01,2018-11-01,2018-09-01,2018-08-01,2018-07-01,2018-06-01,2018-05-01,2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'." []}]
reason: AsyncCreateFailure
status: "False"
type: LastAsyncOperation Only the relevant sections of the managed resource have been presented for brevity. |
What happened?
managedidentities.ManagedIdentitiesClient#UserAssignedIdentitiesGet:
Failure responding to request: StatusCode=400 -- Original Error:
autorest/azure: Service returned an error. Status=400
Code="InvalidApiVersionParameter" Message="The api-version
'2022-01-31-preview' is invalid. The supported versions are
'2023-07-01,2023-07-01-preview,2023-03-01-preview,2022-12-01,2022-11-01-preview,2022-09-01,2022-06-01,2022-05-01,2022-03-01-preview,2022-01-01,2021-04-01,2021-01-01,2020-10-01,2020-09-01,2020-08-01,2020-07-01,2020-06-01,2020-05-01,2020-01-01,2019-11-01,2019-10-01,2019-09-01,2019-08-01,2019-07-01,2019-06-01,2019-05-10,2019-05-01,2019-03-01,2018-11-01,2018-09-01,2018-08-01,2018-07-01,2018-06-01,2018-05-01,2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."
checking for the presence of an existing User Assigned Identity
How can we reproduce it?
Used the following manifest
What environment did it happen in?
The text was updated successfully, but these errors were encountered: