Closed tormath1 closed 6 days ago
trailing \x00 character was making Ignition to fail parsing the config. It is not always the case, that is why we did not catch it earlier: when there is no padding in the base64 payload, everything was working.
https://pkg.go.dev/encoding/base64#Encoding.Decode
cc @nesv
(sorry for the screenshot but it's not easy to copy-paste logs from emergency shell)
EDIT: Successfully tested on Flatcar test build with previously failing configuration.
Thank you @tormath1, Great work!
trailing \x00 character was making Ignition to fail parsing the config. It is not always the case, that is why we did not catch it earlier: when there is no padding in the base64 payload, everything was working.
https://pkg.go.dev/encoding/base64#Encoding.Decode
cc @nesv
(sorry for the screenshot but it's not easy to copy-paste logs from emergency shell)
EDIT: Successfully tested on Flatcar test build with previously failing configuration.