Currently disabling rollback only works in CLI. To change the field to string to support it in API.
The root cause is MergeConfig from pkg/utils/util.go. If setting rollback to bool false, it won't be set to sourceConfig as it is zero value of bool type. By changing it to string to fix it.
Currently disabling rollback only works in CLI. To change the field to string to support it in API.
The root cause is
MergeConfig
frompkg/utils/util.go
. If setting rollback to boolfalse
, it won't be set to sourceConfig as it is zero value of bool type. By changing it to string to fix it.Refer to https://github.com/cnrancher/autok3s/issues/504