[external-dns] Secret not created for aws.accessKey
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
Helm: Client: v2.7.0, Server: v2.7.2 Kubernetes: v1.7.10
Which chart:
stable/external-dns
What happened:
When aws.accessKey and aws.secretKey are set, the secret external-dns will not be created but referenced by the deployment. This will lead to the pod(s) being stuck with 'secrets "external-dns" not found'.
What you expected to happen:
Secret is created and values for aws.accessKey and aws.secretKey are injected into the deployment template.
How to reproduce it (as minimally and precisely as possible):
Deploy the chart with aws.accessKey and aws.secretKey set to arbitrary values.
Anything else we need to know:
Likely caused by the conditional check in templates/secret.yaml checking for .Values.aws.secret_key and .Values.aws.access_key. As far as I can tell, everywhere else the camelCased versions are used.