-
Notifications
You must be signed in to change notification settings - Fork 203
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
Update Managed Cluster to v2023-07-01 #3629
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few minors below
} | ||
|
||
func NewManagedCluster20230701(tc *testcommon.KubePerTestContext, rg *v1api20200601.ResourceGroup, adminUsername string, sshPublicKey *string) *aks.ManagedCluster { | ||
region := to.Ptr("westus3") // TODO: the default test region of westus2 doesn't allow ds2_v2 at the moment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can move this to Location with comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and remove //region := tc.AzureRegion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a test can't be run in the standard test region, this is how we normally move it, so that every resource gets the same region (if there are more than one).
@@ -0,0 +1,13 @@ | |||
apiVersion: storage.azure.com/v1api20210401 | |||
kind: StorageAccount |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think this ref and below (Workspaces, Keyvault) are used in containerservice samples?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've simplified the samples.
v2/api/containerservice/customizations/managed_clusters_agent_pool_extensions.go
Outdated
Show resolved
Hide resolved
@@ -17,7 +17,7 @@ import ( | |||
"sigs.k8s.io/controller-runtime/pkg/client" | |||
"sigs.k8s.io/controller-runtime/pkg/conversion" | |||
|
|||
containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage" | |||
containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230701/storage" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need customized conversion for the property that disappeared and re-appeared? Where is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, meant to not approve yet
…ation' into feature/update-managed-cluster
…zure/azure-service-operator into feature/update-managed-cluster
What this PR does / why we need it:
Imports the latest stable version of
ManagedCluster
andManagedClusterAgentPool
, v2023-07-01.How does this PR make you feel:
If applicable: