Fix the kured reboot command

This commit is contained in:
Marco Nenciarini
2022-02-09 11:47:39 +01:00
parent b123845937
commit 573155e5b7
3 changed files with 21 additions and 142 deletions

View File

@@ -124,7 +124,7 @@ resource "hcloud_server" "first_control_plane" {
provisioner "local-exec" {
command = <<-EOT
set -ex
kubectl -n kube-system apply ${path.module}/config/kured.yaml --kubeconfig ${path.module}/kubeconfig.yaml
kubectl -n kube-system apply -k ${dirname(local_file.kured_config.filename)} --kubeconfig ${path.module}/kubeconfig.yaml
EOT
}