instana / instana-autotrace-webhook

Apache License 2.0
7 stars 8 forks source link

Fix indentation of additionalLabels #10

Open DerFels opened 1 year ago

DerFels commented 1 year ago

Currently, when you add an additionalLabel to the service, you'll receive this error while installing the helm chart Error: INSTALLATION FAILED: YAML parse error on instana-autotrace-webhook/templates/service.yaml: error converting YAML to JSON: yaml: line 10: mapping values are not allowed in this context

This is due to the misconfigured indentation {{ toYaml .Values.webhook.service.additionalLabels | indent 6 }} which should only be indented 4 tabs deep, just like in the deployment.

This PR fixes this.