Bug 2223747
| Summary: | virtctl create instancetype/preference --namespaced flag render menifest | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Roni Kishner <rkishner> |
| Component: | Infrastructure | Assignee: | Dominik Holler <dholler> |
| Status: | CLOSED NOTABUG | QA Contact: | Ying Cui <ycui> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.14.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-19 08:55:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
A namespaced can be chosen using the -n flag -> 'create preference --namespaced | create -n <namespace_name> -f -' |
Description of problem: When calling on instancetype or preference 'virtctl create <resource> --namespaced test' the resource will be become namespaced (VirtualMachinePreference/VirtualMachineInstancetype), but the namespace wont show in the menifest Version-Release number of selected component (if applicable): CNV 4.14 How reproducible: 100% Steps to Reproduce: 1.virtctl create preference --namespaced roni Actual results: apiVersion: instancetype.kubevirt.io/v1beta1 kind: VirtualMachinePreference metadata: creationTimestamp: null name: preference-zb4kc spec: {} Expected results: apiVersion: instancetype.kubevirt.io/v1beta1 kind: VirtualMachinePreference metadata: creationTimestamp: null name: preference-zb4kc namespace: roni spec: {}