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.
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 indented4
tabs deep, just like in the deployment.This PR fixes this.