Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
helm: v2.11.0 & kubernetes: 1.11
Which chart:
stable/external-dns
What happened:
Can't assume role credentials using values.yaml
What you expected to happen:
Assuming aws role as a start paramater for external-dns
How to reproduce it (as minimally and precisely as possible):
Fill in aws.roleArn value and deploy latest stable chart version
Anything else we need to know:
hello, when is this going to be pushed? We are blocked by the same issue
Same issue here
At the moment the property aws.roleArn from the values.yaml is not used in the template
Temporary workaround is to set the role via the podAnnotations property.
Example in values.yaml:
podAnnotations:
iam.amazonaws.com/role: <route53-access-role>
The workaround does not seem to work for me either.
I've tried with both aws.roleArn and podAnnotations but still getting the following error: NoCredentialProviders: no valid providers in chain
Also, in the pod logs the config property AWSAssumeRole is empty
Actually the workaround did work. I had kube2iam misconfigured.
It's confusing because the aws.roleArn property is not related to the --aws-assume-role flag. It seems to only be used when you provide hardcoded credentials to the helm chart, at which point it will generate ~/.aws/config in the container. You can always do the following, however:
extraArgs:
aws-assume-role: "arn:aws:iam::<account-id>:role/my-external-dns-role"
Which will use the native external-dns flag. HTH.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.
This is still broken. You cannot currently use the documented values aws.roleArn to specify a role arn for external DNS to utilize.
Same issue here. Can't use the chart because of this bug.
Most helpful comment
hello, when is this going to be pushed? We are blocked by the same issue