You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change Butane Configs conversion to compatible Ignition version
* Parse Ignition bytes to the compatible Ignition version (determined
by current Ignition module's `ParseCompatibleVersion`)
* Parse v1.3 Butane Configs to Ignition v3.3
* Parse v1.2 Butane Configs to Ignition v3.3
* Parse v1.1 Butane Configs to Ignition v3.3
* Parse v1.0 Butane Configs to Ignition v3.3
* Relies on Ignition v3.x spec's future compatibility, where lesser
Ignition can be converted forward to the current Ignition (e.g. any
new fields will be empty or equivalently zero effect)
* Add support for version skew among Butane Config snippets
* Butane Config and snippets will always convert to the Ignition
version set by this provider
Docs: https://github.com/poseidon/terraform-provider-ct#versions
Copy file name to clipboardExpand all lines: README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ terraform {
13
13
required_providers {
14
14
ct = {
15
15
source = "poseidon/ct"
16
-
version = "0.9.2"
16
+
version = "0.10.0"
17
17
}
18
18
}
19
19
}
@@ -75,12 +75,15 @@ $ terraform init
75
75
76
76
## Versions
77
77
78
-
Butane configs contain a `version` that is associated with an Ignition format version. For example, a Butane config with `version: 1.0.0` would produce an Ignition config with version `3.0.0`, across future releases.
78
+
Butane configs are converted to the current (according to this provider) stable Ignition config and merged together. For example, a Butane Config with `version: 1.2.0` would produce an Ignition config with version `v3.3.0`. This relies on Ignition's [forward compatibility](https://github.com/coreos/ignition/blob/main/config/v3_3/config.go#L61).
79
79
80
80
Container Linux Configs render a fixed Ignition version, depending on the `terraform-provider-ct` release, so updating alters the rendered Ignition version.
81
81
82
+
Before `terraform-provider-ct` v0.10.0, Butane configs contained a `version` that was associated with an Ignition format version. For example, a Butane config with `version: 1.0.0` would produce an Ignition config with version `3.0.0`.
83
+
82
84
| terraform-provider-ct | CLC to Ignition | Butane to Ignition |
0 commit comments