Sample application Demo error

Trying the example of K8s with Mongodb Atlas from Application Deployment in Kubernetes with the MongoDB Atlas Operator | MongoDB

Getting this the below error when I try to executed " kubectl apply -f ./atlas"

Error from server (BadRequest): error when creating “atlas/deployment.yaml”: AtlasDeployment in version “v1” cannot be handled as a AtlasDeployment: strict decoding error: unknown field “spec.deploymentSpec.providerSettings”

Looks like project and user yamls’ are okay and deployment.yaml is reporting the above error. Any suggestion on this ?.

Sounds like version skew between the 2022 example and the present state of Atlas.

That’s assuming your command line is correct, I don’t see that it corresponds to anything in the example you cited, but I could be wrong about that.