-
Notifications
You must be signed in to change notification settings - Fork 581
Bug 1894268: Add v4 and v6 join subnets to ovn-kubernetes config #824
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -325,6 +325,16 @@ type OVNKubernetesConfig struct { | |
| // cluster. | ||
| // +optional | ||
| IPsecConfig *IPsecConfig `json:"ipsecConfig,omitempty"` | ||
| // v4JoinSubnet is the v4 join subnet to be used by ovn-kubernetes in case the | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know what a "join subnet" is? Maybe it will be obvious to an administrator but you could add more description about that?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. I will add more description about what a join subnet is. |
||
| // default one is being already used by something else. | ||
| // Default is 100.64.0.0/16 | ||
| // +optional | ||
| V4JoinSubnet string `json:"v4JoinSubnet,omitempty"` | ||
| // v6JoinSubnet is the v6 join subnet to be used by ovn-kubernetes in case the | ||
| // default one is being already used by something else. | ||
| // Default is fd98::/48 | ||
| // +optional | ||
| V6JoinSubnet string `json:"v6JoinSubnet,omitempty"` | ||
| } | ||
|
|
||
| type HybridOverlayConfig struct { | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Did you consider putting them in a sub-struct? e.g. Could there be other configuration needed for this?
i.e.
ovnKubernetesConfig:
joinSubnets:
v4: 100.65.0.0/16
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 don't anticipate any other configuration which can fall under joinSubnets to make this as a sub-struct property.