Skip to content
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

fix the mutation and validation in v3 mgmt cluster #169

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

jiaqiluo
Copy link
Member

@jiaqiluo jiaqiluo commented Jan 5, 2023

No description provided.

…a KEv2 cluster (GKE/EKS/AKS) or v1 Provisioning Cluster
@jiaqiluo jiaqiluo requested review from KevinJoiner, snasovich and a team January 5, 2023 17:42
return admission.ResponseAllowed(), nil
}
if cluster.Spec.RancherKubernetesEngineConfig == nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to check the cluster driver here or is it not populated yet? I'm going to approve so as to unblock CI that's failing because of this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is doable but unnecessary because we need to skip it anyway.

@jiaqiluo jiaqiluo changed the title skip the mutation and validation in v3 mgmt cluster which represents a KEv2 cluster (GKE/EKS/AKS) or v1 Provisioning Cluster fix the mutation and validation in v3 mgmt cluster Jan 5, 2023
@jiaqiluo jiaqiluo merged commit 7165256 into rancher:release/v0.3 Jan 5, 2023
@jiaqiluo jiaqiluo deleted the fix-invalid-check branch January 5, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants