-
Bug
-
Resolution: Done
-
Major
-
None
-
4.18.z
-
Quality / Stability / Reliability
-
False
-
-
2
-
None
-
None
-
None
-
None
-
None
-
OSDOCS Sprint 267
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Incorrect subnet value, incorrect use of " in CUDN docs example
Version-Release number of selected component (if applicable):
4.18+
How reproducible:
Always
Steps to Reproduce:
1.Create CUDN CR
2.Use provided subnet
3.Use provided namespace format
Actual results:
Should create
Expected results:
Errors are returned:
The ClusterUserDefinedNetwork "cudn1" is invalid: spec.network.layer3.subnets[0]: Invalid value: "object": HostSubnet must < 32 for ipv4 CIDR
status:
conditions:
- lastTransitionTime: "2025-03-03T10:49:49Z"
message: 'failed to get selected namespaces: failed to create label-selector:
values[0][kubernetes.io/metadata.name]: Invalid value: "namespace-1, namespace-2":
a valid label must be an empty string or consist of alphanumeric characters,
''-'', ''_'' or ''.'', and must start and end with an alphanumeric character
(e.g. ''MyValue'', or ''my_value'', or ''12345'', regex used for validation
is ''(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?'')'
reason: NetworkAttachmentDefinitionSyncError
status: "False"
Additional info:
https://redhat-internal.slack.com/archives/CU9HKBZKJ/p1740999301200799