coreos / etcd-operator

etcd operator creates/configures/manages etcd clusters atop Kubernetes
https://coreos.com/blog/introducing-the-etcd-operator.html
Apache License 2.0
1.75k stars 741 forks source link

Fix no matches for kind "Deployment" in version "extensions/v1beta1" #2127

Open longfei-zhang opened 4 years ago

longfei-zhang commented 4 years ago

As deployment in the extensions/v1beta1 was deprecated from K8S 1.16, so change the deployment to suit K8S 1.16 version and later.

Ref: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/

Please read https://github.com/coreos/etcd-operator/blob/master/CONTRIBUTING.md#contribution-flow

oliverhu commented 4 years ago

Verified and works for me.