Open
Description
Describe the bug
I install controller with helm charts, the mutation webhook failed to modify pod, it report error:
{"kind":"AdmissionReview","apiVersion":"admission.k8s.io/v1","response":{"allowed":false,"status":{"metadata":{},"message":"failed parsing injected YAML (check sidecar injector configuration): error converting YAML to JSON: yaml: line 57: did not find expected key"}}}
To Reproduce
just helm install
Expected behavior
mutate pod successfully
Environment
- Version: k8s 1.32
- OS: debian 12
Additional context
the template is wrong
helm verison template is bad, however k8s yaml version is correnct