stable/superset error converting YAML to JSON. Did not find expected key.
Describe the bug
There seems to be an error with the value parsing of extraConfigFiles in the values.yml of Superset. No matter if this is left empty, or filled with a value, the following error shows up.
UPGRADE FAILED
Error: YAML parse error on superset/templates/deployment.yaml: error converting YAML to JSON: yaml: line 52: did not find expected key
Error: UPGRADE FAILED: YAML parse error on superset/templates/deployment.yaml: error converting YAML to JSON: yaml: line 52: did not find expected key
The error when this value is empty, I believe it comes from this file https://github.com/helm/charts/blob/master/stable/superset/templates/secret.yaml which doesn't probably check if the value is set before parsing it.
However, I haven't yet found why the problem occurs when the value is set. The template seems fine to me. You can try something simple like extraConfigFiles: {custom_sso_security_manager.py: import os} to reproduce this error.
Btw. My yaml is checked with a linter, so the problem doesn't come from there.
Version of Helm: 2.16.0
Which chart: Superset
What happened:
UPGRADE FAILED
Error: YAML parse error on superset/templates/deployment.yaml: error converting YAML to JSON: yaml: line 52: did not find expected key
Error: UPGRADE FAILED: YAML parse error on superset/templates/deployment.yaml: error converting YAML to JSON: yaml: line 52: did not find expected key
What you expected to happen: To update the values
How to reproduce it (as minimally and precisely as possible):
Try to fill the extraConfigFiles value. Even if you leave it empty there is an error.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.