okteto / movies

React + Node multi service application
Apache License 2.0
77 stars 157 forks source link

adding a pv for the mongodb stateful set #48

Closed RinkiyaKeDad closed 2 years ago

RinkiyaKeDad commented 2 years ago

Signed-off-by: RinkiyaKeDad arshsharma461@gmail.com

Based on @pchico83's suggestion here: https://github.com/okteto/website/pull/924#discussion_r754283103

I'm not sure how a PV is configured in the Okteto cluster so I don't know if this would work, please let me know what changes are required!

rberrelleza commented 2 years ago

@RinkiyaKeDad this should just work. Try deploying it on okteto cloud?

RinkiyaKeDad commented 2 years ago

@rberrelleza when I deploy it on Okteto Cloud I get the following error:

Error: YAML parse error on movies/templates/mongodb-statefulset.yaml: error converting YAML to JSON: yaml: line 72: did not find expected key

x Exit status 1

But applying the YAML (after commenting out the helm specific stuff) to a local kind cluster works, so I'm not sure what the error message is referring to 🤔 any idea?