-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Remove romana support #9255
Remove romana support #9255
Conversation
/lgtm |
@@ -367,6 +367,7 @@ func validateNetworking(c *kops.ClusterSpec, v *kops.NetworkingSpec, fldPath *fi | |||
} | |||
|
|||
if v.Romana != nil { | |||
allErrs = append(allErrs, field.Forbidden(fldPath.Child("romana"), "support for Romana has been removed")) | |||
if optionTaken { |
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.
This if block can be removed
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 it? If I remove that block, kops creates my cluster.
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.
A validation error should prevent creation. How is that happening?
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, I thought you were referring to the outer if. Yeah, this one can technically be removed.
Co-authored-by: John Gardiner Myers <[email protected]>
this looks good to me too. i'm curious if/when we'd want to remove the |
We can remove the struct from the next API version, but I think we should keep the unversioned struct for as long as any versioned API has the struct so that people run into the validation errors. |
/lgtm |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: olemarkus, rdrgmnzs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Agree with keeping the API fields, to explicitly mark it deprecated and help users. Also makes it easier if we change our mind and re-add support! |
No description provided.