CRI-O config (/etc/crio/crio.conf) should not be hardcoded (nor overwritten without a prompt) #6009
Labels
co/none-driver
co/runtime/crio
CRIO related issues
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
With
minikube start --vm-driver=none --container-runtime=crio
, minikube attempts to overwrite any pre-existing CRI-O configuration at/etc/crio/crio.conf
with a hardcoded template.First, this has a potential for user data loss (if the user has a nontrivial configuration in place).
Second, this makes minikube/crio unusable on any systems that do not adhere to the hardcoded paths (e. g. Arch Linux, which has
/usr/bin/conmon
and/usr/lib/cni
instead of/usr/libexec/crio/conmon
and/opt/cni/bin
).Finally, this makes it impossible to use any container runtime other than
crun
(which is often the motivation to use CRI-O in the first place).The text was updated successfully, but these errors were encountered: