Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Crashes when templates/NOTES.txt exists #1

Open
jglick opened this issue Mar 1, 2021 · 1 comment
Open

Crashes when templates/NOTES.txt exists #1

jglick opened this issue Mar 1, 2021 · 1 comment

Comments

@jglick
Copy link

jglick commented Mar 1, 2021

No idea what this error message might mean (not mentioned explicitly in this repo’s sources), and there is not enough detail to track down the problem.

$ helm fetch --repo https://charts.cloudbees.com/public/cloudbees --version 1.253+657471732ccb cloudbees-sda
$ helm install somestuff cloudbees-sda-1.253+657471732ccb.tgz

NAME: somestuff
LAST DEPLOYED: Mon Mar  1 08:55:56 2021

$ …/bacongobbler/helm-patchdiff/helm-patchdiff somestuff cloudbees-sda-1.253+657471732ccb.tgz
2021/03/01 08:56:17 YAML parse error on cloudbees-sda/charts/cd/charts/mariadb/templates/NOTES.txt: error converting YAML to JSON: yaml: line 3: mapping values are not allowed in this context
@jglick
Copy link
Author

jglick commented Mar 2, 2021

Even on the tiny sample from databus23/helm-diff#263 helm-patchdiff fails with a cryptic error (which goes away if you delete NOTES.txt):

2021/03/02 07:45:09 YAML parse error on diffdemo/templates/NOTES.txt: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type releaseutil.SimpleHead

@jglick jglick changed the title mapping values are not allowed in this context Crashes when templates/NOTES.txt exists Mar 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant