Minikube 1.14. Problem with CRD installation

Error with trying to install the MongoDB operator on minikube

albertwong@Alberts-MacBook-Pro mongodb-enterprise-kubernetes % kubectl replace -f crds.yaml
Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
clusterrole.rbac.authorization.k8s.io/mongodb-enterprise-operator-mongodb-webhook replaced
Error from server (NotFound): error when replacing "crds.yaml": customresourcedefinitions.apiextensions.k8s.io "mongodb.mongodb.com" not found
Error from server (NotFound): error when replacing "crds.yaml": customresourcedefinitions.apiextensions.k8s.io "mongodbusers.mongodb.com" not found
Error from server (NotFound): error when replacing "crds.yaml": customresourcedefinitions.apiextensions.k8s.io "opsmanagers.mongodb.com" not found

@alberttwong

Crosslinked to https://github.com/mongodb/mongodb-enterprise-kubernetes/issues/161

Use “apply” as in “kubectl apply” instead.