k3s install method ok

This commit is contained in:
Karim Naufal 2022-02-16 05:01:13 +01:00
parent d920132694
commit dcf9af0e3c

View File

@ -180,7 +180,7 @@ resource "hcloud_server" "first_control_plane" {
"sed -i 's/^- |[0-9]\\+$/- |/g' /tmp/post_install/kustomization.yaml", "sed -i 's/^- |[0-9]\\+$/- |/g' /tmp/post_install/kustomization.yaml",
"kubectl apply -k /tmp/post_install", "kubectl apply -k /tmp/post_install",
"echo 'Waiting for the system-upgrade-controller deployment to become available...'", "echo 'Waiting for the system-upgrade-controller deployment to become available...'",
"kubectl -n system-upgrade wait --for=condition=available --timeout=300s deployment/system-upgrade-controller", "kubectl -n system-upgrade wait --for=condition=available --timeout=120s deployment/system-upgrade-controller",
"kubectl apply -f /tmp/post_install/plans.yaml" "kubectl apply -f /tmp/post_install/plans.yaml"
] ]
} }