kubernetes: vSphere cloud provider broken with controller-manager v1.9.0
Is this a BUG REPORT or FEATURE REQUEST?:
Uncomment only one, leave it on its own line:
/kind bug
/kind feature
What happened:
controller-manager crashes with error client_builder.go:273] ServiceAccount "vSphere-cloud-provider" is invalid: metadata.name: Invalid value: "vSphere-cloud-provider": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
What you expected to happen: I expected the controller-manager to launch without issue.
How to reproduce it (as minimally and precisely as possible): Launch a controller-manager with a cloud-config per VMware documentation.
Anything else we need to know?: Root cause appears to be here. Perhaps lowercasing the āSā will solve this?
Environment:
- Kubernetes version (use
kubectl version): v1.9.0 - Cloud provider or hardware configuration: vsphere
- OS (e.g. from /etc/os-release): Ubuntu 17.10
- Kernel (e.g.
uname -a): Linux 4.9.61 - Install tools:
- Others:
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 26 (9 by maintainers)
Commits related to this issue
- Merge pull request #57286 from vmware/controller-mgr-fix Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://g... — committed to kubernetes/kubernetes by deleted user 7 years ago
- Upgrade to k8s 1.9.2 - we had to create a clusterrolebinding for the vsphere-cloud-provider user (https://github.com/kubernetes/kubernetes/issues/57279) [#153627570] Signed-off-by: Brenda Chan <brc... — committed to cloudfoundry-incubator/kubo-release by Manifaust 6 years ago
- Upgrade to k8s 1.9.2 - we had to create a clusterrolebinding for the vsphere-cloud-provider user (https://github.com/kubernetes/kubernetes/issues/57279) [#153627570] Signed-off-by: Brenda Chan <brc... — committed to cloudfoundry-incubator/kubo-release by Manifaust 6 years ago
- Merge pull request #57286 from vmware/controller-mgr-fix Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://g... — committed to kubernetes/cloud-provider-vsphere by deleted user 7 years ago
This worked for me on a 1.9.2 cluster