Fix DHCP sample gateways and lowercase PXE client-class names #2
Reference in New Issue
Block a user
Delete Branch "benvin/fix-samples"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Correct two bugs in the deployment samples that were found (and worked around) while authoring the argocd deployment.
.254(not.1); 198.18.17.0 stays.1Legacy/UEFI-64tolegacy/uefi-64so they are valid RFC1123 Kubernetes object names; the operator renders the kea client-class name straight frommetadata.name, which the apiserver forces to lowercase (the uppercase samples were un-appliable). arch hex and boot filenames are unchangedOn the validation idea for #2:
metadata.nameis already RFC1123-validated by the apiserver, so the invalid samples would have been rejected on apply regardless, and kubebuilder/CEL markers cannot be attached tometadata.nameon our types. A real guard would be decoupling the kea class name from the object name via an optionalspec.className(pattern-validated) field, but that is a feature rather than a trivial marker, so I am listing it as a follow-up issue instead of adding it here.Samples only; no release tag needed.