Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assume Role Forbidden by Namespace Policy Expression #195

Closed
osterman opened this issue Jul 25, 2018 · 0 comments
Closed

Assume Role Forbidden by Namespace Policy Expression #195

osterman opened this issue Jul 25, 2018 · 0 comments
Labels
documentation enhancement New feature or request

Comments

@osterman
Copy link
Member

what

{"addr":"100.98.35.137:54990","level":"error","method":"GET","msg":"error processing request: assume role forbidden: namespace policy expression '(empty)' forbids role 'cpco-testing-external-dns'","path":"/latest/meta-data/iam/security-credentials/cpco-testing-external-dns","status":403,"time":"2018-07-25T02:39:17Z"}

why

This is easily fixed by running...

kubectl annotate --overwrite namespace kube-system "iam.amazonaws.com/permitted=.*"

Replace namespace and roles as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant