- Added
spec.services.coreDHCP.configMapRef(name,keydefaultconfig.yml) for a user-provided CoreDHCP config (issue #66). - Removed the CRD-level defaults on
spec.services.coreDHCP.unknownLeaseDuration/knownLeaseDuration. The mutating webhook still defaults them (5m/1h) whenconfigMapRefis unset, so existing objects are unaffected. - Added
spec.services.bootService.httpBootScript(defaulttrue) (issue #69). When enabled, the gateway's HTTP listener servesGET /boot/v1/bootscriptdirectly (new HTTPRouteboot-service-public-http) so the bundled iPXE binaries can fetch the boot script without trusting a private gateway CA. Every other HTTP request still 301s to HTTPS. The route exists only while/boot/v1/bootscriptis also on boot-service's HTTPSpublicRouteslist.
- CoreDHCP:
ghcr.io/openchami/coredhcp:v0.3.1→ghcr.io/openchami/coresmd:v0.7.1(CoreDHCP with thecoresmdandbootloopplugins). The generated config uses only stock plugins and works unchanged on the new image.
- Magellan discovery is unavailable pending functional scan/collect/send wiring
(issue #44). The operator no longer creates no-op Magellan CronJobs and
suspends legacy operator-managed schedules, even if Magellan is disabled.
Existing Jobs and templates are retained; probe recovery does not resume them.
With Magellan enabled,
MagellanReady=False/NotConfiguredand the cluster phase becomesDegraded. Setspec.services.magellan.enabled: falseto explicitly opt out of discovery and allow the remaining services to reachReady. This update does not enable discovery or require a CRD schema migration. - The
coredhcpDaemonSet now also binds UDP 69 as a hostPort (coresmd TFTP). Nodes already running a TFTP server on 69 will not schedule the pod. - The unused
CLUSTER_NAME,LEASE_RANGES_JSON,UNKNOWN_LEASE_DURATIONandKNOWN_LEASE_DURATIONenv vars were removed from the coredhcp container. - The webhook rejects
configMapRefcombined withleaseRangesor either lease duration. - After upgrade, port 80 on the gateway is no longer redirect-only: it serves
the unauthenticated iPXE boot script in plaintext. Sites whose iPXE trusts
the gateway certificate, or that don't want any plaintext endpoint, should
set
spec.services.bootService.httpBootScript: falsebefore upgrading. coresmd configs can switchipxe_uritohttp://<spec.domain>/boot/v1/bootscript. - Production note: the operator-generated CoreDHCP config is dev/test only
(no coresmd, so no SMD-backed leases or iPXE boot). Production clusters
should move to
configMapRef; seedocs/install-production.md§9.
- Pin production clusters before upgrading:
kubectl patch openchamicontrolplane <name> --type=merge \ -p '{"spec":{"operatorChannel":"pinned","pinnedVersion":"<current>"}}' - Deploy new operator
- Validate staging clusters:
kubectl get openchamicontrolplane -A - Unpin production clusters one at a time
- Verify
status.managedByVersionmatches new version
After installing a new operator that ships a new CRD storage version, run:
hack/migrate-storage-version.sh
The script no-op patches every OpenCHAMIControlPlane, forcing the API server to re-encode it at the current storage version. Safe to re-run.