aws-samples / aws-secret-sidecar-injector

Kubernetes mutating webhook to fetch secrets from AWS Secrets Manager
MIT No Attribution
145 stars 35 forks source link

Latest chart (0.1.7) errors on install #57

Closed antonosmond closed 3 years ago

antonosmond commented 3 years ago

If I try to install the latest chart I get an error. Steps to reproduce:

helm repo add secret-inject https://aws-samples.github.io/aws-secret-sidecar-injector/
helm repo update
helm install secret-inject secret-inject/secret-inject

Error:

Error: YAML parse error on secret-inject/templates/.__helpers.tpl: error converting YAML to JSON: yaml: control characters are not allowed

I'm actually trying to upgrade and previously had 0.1.3 but this version seems to be no longer available. In fact it seems that only version 0.1.7 exists in the chart repo which throws the error mentioned above.

$helm search repo secret-inject

NAME                        CHART VERSION   APP VERSION DESCRIPTION
secret-inject/secret-inject 0.1.7           1           A Helm chart for installing AWS Secret Controll...

Also the chart version is listed as 0.1.1 here (which is also not available in the chart repo): https://github.com/aws-samples/aws-secret-sidecar-injector/blob/master/admission-controller/secret-inject/Chart.yaml#L4

antonosmond commented 3 years ago

Thanks @amit0701 that was a fast fix! Just tested and now version is 0.1.6 and installs without error 👍