From b0cf15b05dd80ffc98e9d3f601001c1be7f77e6f Mon Sep 17 00:00:00 2001 From: Seth Saperstein Date: Thu, 30 Mar 2023 06:02:46 -0700 Subject: [PATCH] Revert "Support kubernetes 1.22 (#258)" This reverts commit 773b378f5f8cfa9758e3794b62c8e5fa00020606. --- deploy/crd.yaml | 3 ++- deploy/role-binding.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/crd.yaml b/deploy/crd.yaml index ce0556c1..75cbf276 100644 --- a/deploy/crd.yaml +++ b/deploy/crd.yaml @@ -1,4 +1,4 @@ -apiVersion: apiextensions.k8s.io/v1 +apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: flinkapplications.flink.k8s.io @@ -12,6 +12,7 @@ spec: shortNames: - flinkapp scope: Namespaced + version: v1beta1 versions: - name: v1beta1 served: true diff --git a/deploy/role-binding.yaml b/deploy/role-binding.yaml index 99b48ead..e46a1f91 100644 --- a/deploy/role-binding.yaml +++ b/deploy/role-binding.yaml @@ -1,6 +1,6 @@ # Create a binding from Role -> ServiceAccount kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 +apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: flinkoperator roleRef: