Repository navigation
feat: Own reusable isolated DHCP configuration in Fleet - #265
Conversation
|
The initial harness failure came from two new DHCP roots missing from the opt-in list. The correction registers only those roots; local validation confirms default roots remain inactive and the existing DHCP component still renders. These checks do not establish an end-to-end lease proof. |
|
Scope clarification: this change supplies reusable workload configuration only. Operators must provide networking, credentials, image pins, and a real producer/client runtime. Rendering and socket transport validation do not prove allocation, client leasing, renewal, or withdrawal. |
ecv
left a comment
There was a problem hiding this comment.
Request changes.
hack/dhcp/test-transport.sh, in its last line, names one of our real sites in this public repo. Use generic wording such as "any real cluster or site".
Everything else is safe:
dhcp.yamlsets nohostNetwork, and Kea binds only the pod'seth0, so it can't answer on a node, tenant or public network.- The Service is headless.
- Both containers drop all capabilities, run as non-root with read-only roots, and mount no ServiceAccount token.
- The example addresses and feed name are synthetic.
Follow-ups: ship a default-deny NetworkPolicy alongside, since an unpoliced pod accepts any in-cluster sender on 67/udp. Drop the workflow's push trigger on the feature branch before this lands on main.
ecv
left a comment
There was a problem hiding this comment.
Approve.
The site name is gone from test-transport.sh. The rest stands from the first review:
- no
hostNetwork, and Kea binds only the pod'seth0 - a headless Service
- containers that drop all capabilities and run non-root with read-only roots
- synthetic example addresses
|
Follow-up: #269 |
Summary
Provide reusable isolated Kea and DHCP synchronizer configuration so operators can supply networking, credentials, and immutable images without copying the workload definition. Include a synthetic render example and a local control-socket transport test. The configuration is opt-in and does not activate any existing deployment.
Validation
Scope
Environment-specific topology and credentials are external inputs. This preparation neither supplies a complete producer/client runtime nor establishes readiness for a real cluster or site.