Skip to content

Commit

Permalink
Hide nodePlacement APIs from the UI (#929)
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
  • Loading branch information
tiraboschi authored Nov 9, 2020
1 parent e81e99e commit 7aa0da0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
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

0 comments on commit 7aa0da0

Please sign in to comment.