Describe the bug
When making use of the 'deploymentStrategy' in a Helm chart for a Kubernetes deployment, the output format is incorrect. The 'strategy' and 'type' fields, under spec strategy, appear on the same line.
Version of Helm and Kubernetes:
Helm Version:
$ helm version
version.BuildInfo{Version:"v3.12.3", GitCommit:"3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e", GitTreeState:"clean", GoVersion:"go1.20.7"}
Which version of the chart:
latest centrifugo-11.0.1
What happened:
When using deploymentStrategy, the resulting output had 'strategy' and 'type' on the same line under spec strategy.
Which makes output invalid
Describe the bug When making use of the 'deploymentStrategy' in a Helm chart for a Kubernetes deployment, the output format is incorrect. The 'strategy' and 'type' fields, under spec strategy, appear on the same line. Version of Helm and Kubernetes:
Helm Version:
Kubernetes Version:
Which version of the chart: latest centrifugo-11.0.1
What happened: When using deploymentStrategy, the resulting output had 'strategy' and 'type' on the same line under spec strategy. Which makes output invalid
What you expected to happen: I expected 'strategy' and 'type' to be on separate lines, like so:
How to reproduce it:
deploymentStrategy
to thevalues.yaml
filehelm template cent ./charts/centrifugo --set deploymentStrategy.type=RollingUpdate --debug
Anything else we need to know:
The issue seems to be due to the use of 'indent' instead of 'nindent' in this piece of the Helm chart: