Summary
Stabilize the Butane openshift configuration specification for OCP 5.0.
Butane now lives under butane/ in the Ignition repository and is built and shipped with Ignition. This tracks the OpenShift-specific stabilization; it does not require stabilizing a new Ignition specification.
OCP 5.0 is the immediate target. OCP 4.23 stabilization will be handled separately after 5.0, with the expectation of reusing the same underlying implementation where compatible. Preserve the existing 4.23.0-experimental spec for now.
Ignition compatibility
Select the output Ignition spec based on what OCP 5.0's Machine Config Operator actually supports, not merely the Ignition library it vendors.
The inspected MCO release-5.0 revision still uses config/v3_5 and v3_5.ParseCompatibleVersion, making Ignition 3.5.0 the current target:
https://github.com/openshift/machine-config-operator/blob/cafc37a760319b235d5301e3790f83e2de9d78f7/pkg/controller/common/helpers.go#L32-L33
Reconfirm this against the target release before shipping. Review #2279 for unsupported features, including GRUB configuration and special file-mode bits.
Checklist
Spec implementation
Documentation
Validation
References
Summary
Stabilize the Butane
openshiftconfiguration specification for OCP 5.0.Butane now lives under
butane/in the Ignition repository and is built and shipped with Ignition. This tracks the OpenShift-specific stabilization; it does not require stabilizing a new Ignition specification.OCP 5.0 is the immediate target. OCP 4.23 stabilization will be handled separately after 5.0, with the expectation of reusing the same underlying implementation where compatible. Preserve the existing
4.23.0-experimentalspec for now.Ignition compatibility
Select the output Ignition spec based on what OCP 5.0's Machine Config Operator actually supports, not merely the Ignition library it vendors.
The inspected MCO
release-5.0revision still usesconfig/v3_5andv3_5.ParseCompatibleVersion, making Ignition 3.5.0 the current target:https://github.com/openshift/machine-config-operator/blob/cafc37a760319b235d5301e3790f83e2de9d78f7/pkg/controller/common/helpers.go#L32-L33
Reconfirm this against the target release before shipping. Review #2279 for unsupported features, including GRUB configuration and special file-mode bits.
Checklist
Spec implementation
butane/config/openshift/v5_0, using the existing 3.5-compatible stable implementation as the baseline.openshiftversion5.0.0inbutane/config/config.go.4.23.0-experimental.5.1.0-experimentalin this change or track it separately.Documentation
butane/internal/doc/main.go.butane/internal/doc/butane.yamlfor the supported feature set without changing the retained 4.23 experimental documentation../generatefrom thebutane/directory.butane/docs/specs.md, including the Ignition version mapping.butane/docs/upgrading-openshift.md.docs/release-notes.md.Validation
go test ./butane/..., root./test, and./build butane.References