Skipped non-standard openshift installed crd testing for ibmcloud
@@ -82,9 +82,6 @@ var (
// openshift.io groups:
- {Group: "autoscaling.openshift.io", Version: "v1beta1", Resource: "machineautoscalers"},
- {Group: "autoscaling.openshift.io", Version: "v1", Resource: "clusterautoscalers"},
-
{Group: "authorization.openshift.io", Version: "v1", Resource: "selfsubjectrulesreviews"},
{Group: "authorization.openshift.io", Version: "v1", Resource: "subjectrulesreviews"},
@@ -115,10 +112,6 @@ var (
{Group: "ingress.operator.openshift.io", Version: "v1", Resource: "dnsrecords"},
- {Group: "machine.openshift.io", Version: "v1beta1", Resource: "machinehealthchecks"},
- {Group: "machine.openshift.io", Version: "v1beta1", Resource: "machines"},
- {Group: "machine.openshift.io", Version: "v1beta1", Resource: "machinesets"},
-
{Group: "operator.openshift.io", Version: "v1alpha1", Resource: "imagecontentsourcepolicies"},
{Group: "operator.openshift.io", Version: "v1", Resource: "authentications"},
@@ -156,6 +149,17 @@ var (
{Group: "machineconfiguration.openshift.io", Version: "v1", Resource: "machineconfigs"},
}
+ autoscalingTypes = []schema.GroupVersionResource{
+ {Group: "autoscaling.openshift.io", Version: "v1beta1", Resource: "machineautoscalers"},
+ {Group: "autoscaling.openshift.io", Version: "v1", Resource: "clusterautoscalers"},
+ }
+
+ machineTypes = []schema.GroupVersionResource{
+ {Group: "machine.openshift.io", Version: "v1beta1", Resource: "machinehealthchecks"},
+ {Group: "machine.openshift.io", Version: "v1beta1", Resource: "machines"},
+ {Group: "machine.openshift.io", Version: "v1beta1", Resource: "machinesets"},
+ }
+
specialTypes = []explainExceptions{
{
gv: schema.GroupVersion{Group: "apps.openshift.io", Version: "v1"},
@@ -384,7 +388,8 @@ var _ = g.Describe("[sig-cli] oc explain", func() {
oc := exutil.NewCLI("oc-explain")
crdTypes := append(baseCRDTypes, mcoTypes...)
-
+ crdTypes = append(crdTypes, autoscalingTypes...)
+ crdTypes = append(crdTypes, machineTypes...)
g.It("list uncovered GroupVersionResources", func() {
resourceMap := make(map[schema.GroupVersionResource]bool)
kubeClient := kclientset.NewForConfigOrDie(oc.AdminConfig())
