You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to use extraLabels, as implemented in #116, to supply custom labels to be appended to relevant resources (e.g. to the puppetserver master deployment. However, I cannot get this working.
Expected Behavior
I would expect that I can populate extraLabels as a map like:
When I attempt to render or install with the above, I receive:
Error: YAML parse error on puppetserver/charts/puppetserver/templates/puppetserver-deployment-masters.yaml: error converting YAML to JSON: yaml: line 12: mapping values are not allowed in this context
helm.go:84: [debug] error converting YAML to JSON: yaml: line 12: mapping values are not allowed in this context
YAML parse error on puppetserver/charts/puppetserver/templates/puppetserver-deployment-masters.yaml
helm.sh/helm/v3/pkg/releaseutil.(*manifestFile).sort
helm.sh/helm/v3/pkg/releaseutil/manifest_sorter.go:146
helm.sh/helm/v3/pkg/releaseutil.SortManifests
helm.sh/helm/v3/pkg/releaseutil/manifest_sorter.go:106
helm.sh/helm/v3/pkg/action.(*Configuration).renderResources
helm.sh/helm/v3/pkg/action/action.go:165
helm.sh/helm/v3/pkg/action.(*Install).RunWithContext
helm.sh/helm/v3/pkg/action/install.go:259
main.runInstall
helm.sh/helm/v3/cmd/helm/install.go:264
main.newTemplateCmd.func2
helm.sh/helm/v3/cmd/helm/template.go:82
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.3.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.3.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.3.0/command.go:902
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:255
runtime.goexit
runtime/asm_amd64.s:1581
Environment
puppetserver-helm-chart Version 6.7.0
Helm Version 3.8.1
Platform Ubuntu 18.04
Additional Context
It's possible I am using this wrong, but the documentation doesn't provide further details or usage examples.
The text was updated successfully, but these errors were encountered:
Describe the Bug
I am attempting to use
extraLabels
, as implemented in #116, to supply custom labels to be appended to relevant resources (e.g. to the puppetserver master deployment. However, I cannot get this working.Expected Behavior
I would expect that I can populate
extraLabels
as a map like:and have the labels appended to the generated labels section:
Steps to Reproduce
When I attempt to render or install with the above, I receive:
Environment
Additional Context
It's possible I am using this wrong, but the documentation doesn't provide further details or usage examples.
The text was updated successfully, but these errors were encountered: