radanalyticsio / spark-operator

Operator for managing the Spark clusters on Kubernetes and OpenShift.
Apache License 2.0
157 stars 61 forks source link

[minor] changing the apiVersion for Deployment from apps/v1beta1 to apps/v1 #270

Closed jkremser closed 4 years ago

jkremser commented 4 years ago

New versions of k8s don't work w/ v1beta1

Description

To avoid this error (on minikube@1.5.2 w/ k8s@1.16.2):

error: unable to recognize "manifest/operator.yaml": no matches for kind "Deployment" in version "apps/v1beta1"

:bug: Bug fix (non-breaking change which fixes an issue)

/cc @elmiko

elmiko commented 4 years ago

++ looks like a good fix to me

jkremser commented 4 years ago

thanks Mike, merging..