diff --git a/kustomize/base/adminserviceaccount/adminserviceaccount.yaml b/kustomize/base/adminserviceaccount/adminserviceaccount.yaml index 1e5a178a8d..bdaae60df4 100644 --- a/kustomize/base/adminserviceaccount/adminserviceaccount.yaml +++ b/kustomize/base/adminserviceaccount/adminserviceaccount.yaml @@ -35,7 +35,7 @@ metadata: namespace: flyte --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: flyteadmin-binding diff --git a/kustomize/base/propeller/rbac.yaml b/kustomize/base/propeller/rbac.yaml index 951a48cc02..3e0811ac79 100644 --- a/kustomize/base/propeller/rbac.yaml +++ b/kustomize/base/propeller/rbac.yaml @@ -75,7 +75,7 @@ metadata: --- # Create a binding from Role -> ServiceAccount kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: flytepropeller namespace: flyte diff --git a/kustomize/base/wf_crd/wf_crd.yaml b/kustomize/base/wf_crd/wf_crd.yaml index 77eea97bd1..62777601b0 100644 --- a/kustomize/base/wf_crd/wf_crd.yaml +++ b/kustomize/base/wf_crd/wf_crd.yaml @@ -1,4 +1,4 @@ -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: # name must match the spec fields below, and be in the form: . @@ -7,7 +7,14 @@ spec: # group name to use for REST API: /apis// group: flyte.lyft.com # version name to use for REST API: /apis// - version: v1alpha1 + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: 'FlyteWorkflow: represents one Execution Workflow object' + type: object + served: true + storage: true # either Namespaced or Cluster names: # plural name to be used in the URL: /apis///