Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle empty values in values.yaml template #27

Open
chainlink opened this issue Feb 3, 2022 · 0 comments
Open

Handle empty values in values.yaml template #27

chainlink opened this issue Feb 3, 2022 · 0 comments
Assignees

Comments

@chainlink
Copy link
Contributor

chainlink commented Feb 3, 2022

Values in the values.yaml should only be passed through if they are specified in the given CRD. That way they can rely on chart defaults. As an example, the chart fails to apply by default as reverse gets set to empty string, which is not a valid boolean value

Error message:

values don't meet the specifications of the schema(s) in the following chart(s):\npachyderm:\n- pachd.storage.amazon.reverse: Invalid type. Expected: boolean, given: string\n

This is because the value is rendered out as

reverse: <nil>

https://github.com/pachyderm/openshift-operator/blob/main/hack/charts/2.0.3/values.yaml#L297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants