Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-4.14] OCPBUGS-23069: Ignore hostPrefix validation for plugin…
…s other than OVN/SDN (#5676) * OCPBUGS-19823: Ignore hostPrefix validation for plugins other than OVN/SDN For plugins other than OVN/SDN (e.g. Calico), the clusterNetwork hostPrefix setting is not used so remove the validation. Since the networkType for plugins other than OVN/SDN can be passed in installconfig-overrides, that must also be checked. Note that this is similar to the installer change to ignore the hostPrefix for these networkTypes - openshift/installer#3888. * updated per review comments * change to only skip validation based on networkType * ensure that cluster cidr size verification is still done * move order of of checks for NetworkType --------- Co-authored-by: Bob Fournier <bfournie@redhat.com>
- Loading branch information
1 parent
4e1a1e5
commit 0634e0a
Showing
2 changed files
with
92 additions
and
2 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
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