Closed icy closed 2 years ago
The bug may be coming from this https://github.com/variantdev/chartify/blob/0b1378d379b91a5a1f60132ad80ff8dd3f91f447/patch.go#L195
https://github.com/variantdev/chartify/blob/0b1378d379b91a5a1f60132ad80ff8dd3f91f447/patch.go#L195
I'd suggest the yaml document separator does match this regex ^---$
, but in tersm of byte sequence I don't know how to give it a test. I've updated our test to reflect this case https://github.com/variantdev/chartify/pull/19 . Will continue tomorrow. It's late now :).
Okay I hope this works https://github.com/variantdev/chartify/pull/19/files.
@mumoshu Can you please have a look? Please let me know if there is anything I can help. Thanks
I had a bug report here https://github.com/roboll/helmfile/issues/2086, but I think the problem is from our library
https://github.com/variantdev/chartify/blob/0b1378d379b91a5a1f60132ad80ff8dd3f91f447/patch.go#L210
Description
When
transformers
is used, and the helm value is cert-folded, as belowhelmfile
will raise an exceptionTest code
Logs
The output of
helmfile --debug template
command is found here https://github.com/icy/helmfile-bug/blob/main/one/debug.log.txtThe command
kustomize
runs well, but its output was trapping the next stepprocessing all.patched.yaml