ci: k8s: k0s: Allow passing parameters to the k0s installer

We'll need this in order to setup k0s with a different container engine.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-09-19 19:45:20 +02:00
parent 31ef64606c
commit 54c0a471b1

View File

@ -115,7 +115,7 @@ function get_nodes_and_pods_info() {
function deploy_k0s() {
curl -sSLf https://get.k0s.sh | sudo sh
sudo k0s install controller --single
sudo k0s install controller --single ${KUBERNETES_EXTRA_PARAMS:-}
sudo k0s start