pulsar-helm-chart icon indicating copy to clipboard operation
pulsar-helm-chart copied to clipboard

fix multiline strings

Open filipecaixeta opened this issue 2 years ago • 3 comments

Zookeeper has a yaml zookeeper-metadata.yaml that contains multiline string fields. You will see something like this in that file

args:
  - >
    bin/pulsar initialize-cluster-metadata \

The problem with this is that the main library in Go for parsing yaml contains a bug and it is not able to generate the yaml files correctly.

I'm using Kustomize to deploy my helm charts (which uses that yaml library) and that is breaking the deployment.

Yaml also has another syntax for multiline string that works just fine

args:
  - |
    bin/pulsar initialize-cluster-metadata \

filipecaixeta avatar Mar 07 '22 14:03 filipecaixeta