hetzner-kube icon indicating copy to clipboard operation
hetzner-kube copied to clipboard

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

Open dimlev opened this issue 4 years ago • 2 comments

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

dimlev avatar May 09 '20 20:05 dimlev

same issue

max-software-net avatar May 25 '20 07:05 max-software-net

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.

tbtommyb avatar Jan 25 '21 20:01 tbtommyb