Files
kea-operator/config/samples/02-clientclasses.yaml
T
unkinben 23922649b6
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
Fix DHCP sample gateways and lowercase PXE client-class names
Two sample bugs surfaced while authoring the argocd deployment.

- set subnet gateways to match the authoritative puppet hieradata: 198.18.13-16
  routers are .254 (not .1); 198.18.17 stays .1
- rename KeaClientClass samples Legacy/UEFI-64 to legacy/uefi-64 so they are
  valid RFC1123 object names (the operator renders the kea class name from
  metadata.name, which k8s forces to lowercase); align the README

Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
2026-08-02 21:47:48 +10:00

23 lines
618 B
YAML

# PXE boot classes matching the client architecture option (code 93), replacing
# the legacy dhcpd "Legacy" and "UEFI-64" classes. Object names must be RFC1123
# (lowercase); the operator renders the kea client-class name from metadata.name.
apiVersion: kea.unkin.net/v1alpha1
kind: KeaClientClass
metadata:
name: legacy
namespace: dhcp-system
spec:
clusterRef: pxe
archHex: ["0x0000"]
bootFileName: /undionly.kpxe
---
apiVersion: kea.unkin.net/v1alpha1
kind: KeaClientClass
metadata:
name: uefi-64
namespace: dhcp-system
spec:
clusterRef: pxe
archHex: ["0x0007", "0x0009"]
bootFileName: /ipxe.efi