xetys / hetzner-kube

A CLI tool for provisioning kubernetes clusters on Hetzner Cloud
Apache License 2.0
743 stars 117 forks source link

Installing "hcloud-controller-manager" fails - kubectl patch deployment request invalid #327

Open dimlev opened 4 years ago

dimlev commented 4 years ago

Hi,

I am getting an error running the following:

$ hetzner-kube cluster addon install -n k8s hcloud-controller-manager
2020/05/09 22:17:31 installing addon hcloud-controller-manager
2020/05/09 22:17:37 run failed
command:kubectl -n kube-system patch deployment hcloud-cloud-controller-manager --type json -p '[{"op":"remove","path":"/spec/template/spec/containers/0/env/2"}]'
stdout:The request is invalid

err:Process exited with status 1
max-software-net commented 4 years ago

same issue

tbtommyb commented 3 years ago

I see this on the current master branch. However, the failure seems to only be on a workaround and the deployment appears to work correctly without the workaround.