forked from submariner-io/submariner-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify globalCIDR while joining cluster
Enhance 'subctl join' to be able specify globalCIDR for each cluster while joining. The logic implemented is if globalcidr specified by user if globalcidr is preconfigured take pre-configured value else error if it overlaps with other clusters take specified value if not specified by user if globalcidr is preconfigured take pre-configured value else automatically assign value It also checks * if the specified CIDR is valid and that both globalcidr and globalnet cluster size are not specified. * if globalnet-cidr or globalnet-cluster-size is specified even if globalnet is not enabled and ignores its value. Closes: submariner-io#298 Signed-off-by: Janki Chhatbar
- Loading branch information
Showing
1 changed file
with
86 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters