-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve code for vSphere metadata setting #1339
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Intro:
We have discussed metadata in the OVF file for Flatcar in the slack thread and then I opened a PR to fix the Flatcar case #1337
It is still being discussed since the desired output is not clear. On the other hand, the implementation is also problematic. This issue is about the implementation, not about the values/inputs/outputs.
Current Status:
In the code base, there are two different inputs
guest_os_type
andvsphere_guest_os_type
.guest_os_type
refers values likecentos8-64
orindows2019Server-64
whereasvsphere_guest_os_type
referswindows2019srv_64Guest
orotherLinux64Guest
.There are some re-assigments in the codebase as below but it doesn't make sense. These refer different types of values.
There is a OVF template in the code and it is filled by
image-build-ova.py
script. The script usesguest_os_type
as input and has a static map for guest_os_type -> vsphere_guest_os_type relationship.What should be improved:
vsphere_guest_os_type
if it exists and allow users to override the value. The static, hard-coded map is very limiting./kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]
The text was updated successfully, but these errors were encountered: