You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CCM binary instantly exits with --cloud-provider cannot be empty, even though the flag is provided. The binary doesn't react to any flags at all, e.g. --version and -h have no impact.
I noticed this with a different, private CCM after updating the K8s dependencies to 1.20 and wanted to look how others have solved the issue. #429 by @nicolehanjing looked promising, but results in the same error that I was trying to solve.
What you expected to happen:
CCM should react on flags.
How to reproduce it (as minimally and precisely as possible):
make
.build/bin/vsphere-cloud-controller-manager.linux_amd64 --cloud-provider=foo
Anything else we need to know?:
@nicolehanjing also updated the AWS CCM's dependencies to K8s 1.20 in kubernetes/cloud-provider-aws#151. Things seem to work there as expected. Maybe because the cobra command is built differently.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
The CCM binary instantly exits with
--cloud-provider cannot be empty
, even though the flag is provided. The binary doesn't react to any flags at all, e.g.--version
and-h
have no impact.I noticed this with a different, private CCM after updating the K8s dependencies to 1.20 and wanted to look how others have solved the issue. #429 by @nicolehanjing looked promising, but results in the same error that I was trying to solve.
What you expected to happen:
CCM should react on flags.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
@nicolehanjing also updated the AWS CCM's dependencies to K8s 1.20 in kubernetes/cloud-provider-aws#151. Things seem to work there as expected. Maybe because the cobra command is built differently.
Environment:
The text was updated successfully, but these errors were encountered: