-
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
Stop trying to populate arbitrary cluster fields from the channel #14691
Conversation
Would it be safe to also start ignoring the the cluster field in |
This does ignore the cluster field in |
if channel.Spec.Cluster != nil { | ||
cluster.Spec = *channel.Spec.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.
I think the intention here was to be able to populate ClusterSpec from channels. I guess this is more or less unused.
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.
Except it then overwrites large sections of the config.
The current code works only because it overwrites the kubenet setting in the channel with a blank networking struct.
I meant that, we could do something in API like |
Let's go with it, we can optimise late if needed. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman 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 |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
/retest |
When I refactored
Spec.Networking
to be a non-pointer, this code started forcing new clusters to have Kubenet.This seems to be an extremely dubious feature.