From e8c871184a30fcbe1169eac9350205b6598d17d4 Mon Sep 17 00:00:00 2001 From: Baiju Muthukadan Date: Mon, 7 Nov 2022 18:33:01 +0530 Subject: [PATCH] Remove v1beta1 CRD (#1300) This is removed in Kubernetes 1.22 https://kubernetes.io/blog/2021/07/14/upcoming-changes-in-kubernetes-1-22/#api-changes Signed-off-by: Baiju Muthukadan Signed-off-by: Baiju Muthukadan --- .../features/discoverBindableResources.feature | 8 -------- ...ed_backend_crdv1beta1.operator.manifest.yaml | 17 ----------------- 2 files changed, 25 deletions(-) delete mode 100644 test/acceptance/resources/provisioned_backend_crdv1beta1.operator.manifest.yaml diff --git a/test/acceptance/features/discoverBindableResources.feature b/test/acceptance/features/discoverBindableResources.feature index d4f52f1058..4776e64d7b 100644 --- a/test/acceptance/features/discoverBindableResources.feature +++ b/test/acceptance/features/discoverBindableResources.feature @@ -15,11 +15,3 @@ Feature: Discover bindable resources in a cluster And User acceptance-tests-dev can read resource bindablekinds/bindable-kinds And Kind ProvisionedBackend with apiVersion stable.example.com/v1 is listed in bindable kinds And Kind BindableBackend with apiVersion stable.example.com/v1 is listed in bindable kinds - - @crdv1beta1 - @external-feedback - Scenario: Discover bindable service when defined by v1beta1 CRD API - Given OLM Operator "provisioned_backend_crdv1beta1" is running - Then bindablekinds/bindable-kinds is available in the cluster - And User acceptance-tests-dev can read resource bindablekinds/bindable-kinds - And Kind BetaProvisionedBackend with apiVersion stable.example.com/v1 is listed in bindable kinds \ No newline at end of file diff --git a/test/acceptance/resources/provisioned_backend_crdv1beta1.operator.manifest.yaml b/test/acceptance/resources/provisioned_backend_crdv1beta1.operator.manifest.yaml deleted file mode 100644 index 17504182ed..0000000000 --- a/test/acceptance/resources/provisioned_backend_crdv1beta1.operator.manifest.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1beta1 -kind: CustomResourceDefinition -metadata: - name: betaprovisionedbackends.stable.example.com - annotations: - "servicebinding.io/provisioned-service": "true" -spec: - group: stable.example.com - versions: - - name: v1 - served: true - storage: true - scope: Namespaced - names: - plural: betaprovisionedbackends - singular: betaprovisionedbackend - kind: BetaProvisionedBackend \ No newline at end of file