1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-06 09:47:02 +01:00
Files
installer/pkg/types/validation
Thuan Vo 0195cad509 OCPBUGS-49784: handle runtime panic when validating ovnKubernetesConfig
When a clusternetwork entry has an invalid hostPrefix, which is <= CIDR
mask and the custom IPv4 join subnet is provided in the install-config,
the installer gives a runtime panic error: negative shift amount.

This introduces a check to return a more user-friendly and descriptive
error message instead of runtime panic.
2025-02-04 21:39:42 +00:00
..