coreos / butane

Butane translates human-readable Butane Configs into machine-readable Ignition Configs.
https://coreos.github.io/butane/
Apache License 2.0
255 stars 70 forks source link

Improve error on unsupported `rhcos` variant #415

Closed bgilbert closed 1 year ago

bgilbert commented 1 year ago

Now that the rhcos variant has been removed, attempting to use an rhcos config produces a non-actionable error:

Error translating config: No translator exists for variant rhcos with version 0.1.0

Add an explicit check and message:

Error translating config: rhcos variant has been removed; use openshift variant instead: https://coreos.github.io/butane/upgrading-openshift/
bgilbert commented 1 year ago

No release note since the existing release note already covers this.