Skip to content

failed to parse values.yaml #222

@bobloblian

Description

@bobloblian

Hi,
I have been playing at getting stepcertificates installed and keep running into this error when following the instructions for installing via helm:
Error: INSTALLATION FAILED: failed to parse values.yaml: error converting YAML to JSON: yaml: line 11: did not find expected node content

Line 11 of the values file is:
crt: /home/step/certs/intermediate_ca.crt

This is really most likely a me-problem. I am new to kubernetes and I have found much of the documentation expects an understanding I don't have (yet), and this is my first experience with helm that involved more than pasting some commands. That said, the instruction would have me believe I shouldn't be getting that error, so seems appropriate to say something.

I was able to work around the issue by getting helm to output everything into manifest files, and I was able to apply them, but either I missed something in that procedure or it didn't convert all the data, for example the dnsNames from the values.yaml didn't show up in any of the manifest files.

#217 is also describing this same issue, but I am not really understanding what it is I am supposed to be changing. After applying the manifests, I chased some errors that resulted in creating an nfs-pvc volume, and the pvc and pv showed up as bound after I applied the manifests and the NFS volume did end up with data in it, but I am not sure how to pass/translate this information to helm.

#31 seems to describe the same issue, but it referenced outdated documentation, seems to be specific to RAs, and in the end there was no solution listed.

I am hoping that someone can perhaps explain how to work around this issue?

Metadata

Metadata

Assignees

Labels

docsneeds triageWaiting for discussion / prioritization by team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions