Skip to content
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

[release-1.2] Hide nodePlacement APIs from the UI #929

Merged
merged 1 commit into from
Nov 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
categories: OpenShift Optional
certified: "false"
containerImage: quay.io/kubevirt/hyperconverged-cluster-operator@sha256:b827d847bf46643f7aa643cfad5d46cefff8b8b090d65f2162e9481fd268bdac
createdAt: "2020-10-23 09:15:17"
createdAt: "2020-11-09 14:26:01"
description: |-
**HyperConverged Cluster Operator** is an Operator pattern for managing multi-operator products.
Specifcally, the HyperConverged Cluster Operator manages the deployment of KubeVirt,
Expand Down Expand Up @@ -124,6 +124,16 @@ spec:
path: version
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:hidden
- description: nodePlacement APIs are temporary hidden
displayName: nodePlacement APIs are temporary hidden
path: infra
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:hidden
- description: nodePlacement APIs are temporary hidden
displayName: nodePlacement APIs are temporary hidden
path: workloads
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:hidden
version: v1beta1
- description: V2V Vmware
displayName: V2V Vmware
Expand Down
20 changes: 20 additions & 0 deletions pkg/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,26 @@ func GetCSVBase(name, namespace, displayName, description, image, replaces strin
"urn:alm:descriptor:com.tectonic.ui:hidden",
},
},
// TODO: remove this only once nodePlacement APIs are mature
// enough to be shown on the UI
{
DisplayName: "nodePlacement APIs are temporary hidden",
Description: "nodePlacement APIs are temporary hidden",
Path: "infra",
XDescriptors: []string{
"urn:alm:descriptor:com.tectonic.ui:hidden",
},
},
// TODO: remove this only once nodePlacement APIs are mature
// enough to be shown on the UI
{
DisplayName: "nodePlacement APIs are temporary hidden",
Description: "nodePlacement APIs are temporary hidden",
Path: "workloads",
XDescriptors: []string{
"urn:alm:descriptor:com.tectonic.ui:hidden",
},
},
},
StatusDescriptors: []csvv1alpha1.StatusDescriptor{},
},
Expand Down