-
Notifications
You must be signed in to change notification settings - Fork 478
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Describe the bug
When creating, updating or viewing the yaml of a custom resource. It automatically sets the apiVersion of the editor to the first item in the list of versions of the associated CustomResourceDefinition. The best practice would be to automatically set the storage version.
To Reproduce
Prerequisites:
Having a CRD that have multiple versions installed on the cluster
Steps to reproduce the bug:
- Go to the 'Custom Resources' page of that CRD
- Click 'Create' to enter in the editor
- See the
apiVersionnot set to the actual storage version of the CRD
Environment (please provide info about your environment):
- Installation type: In-Cluster via Hemù
- Headlamp Version: 0.38.0
Are you able to fix this issue?
Yes, here is the associated PR: #4224
Additional Context
The apiVersion automatically set when creating the Custom Resource:

Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
