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

Unable to attach external IAM Policy #8621

Closed
richstokes opened this issue Feb 24, 2020 · 5 comments
Closed

Unable to attach external IAM Policy #8621

richstokes opened this issue Feb 24, 2020 · 5 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@richstokes
Copy link

richstokes commented Feb 24, 2020

Following this doc:
https://github.com/kubernetes/kops/blob/master/docs/iam_roles.md#adding-external-policies

I add the lines via kops edit cluster and get

# Found fields that are not recognized
# ...
#         name: c
#       name: events
# +   externalPolicies:
# +     node:
# +     - arn:aws:iam::aws:policy/PolicyNamehere

I am adding this under spec:

  externalPolicies:
    node:
    - arn:aws:iam::aws:policy/PolicyNamehere
kops version
Version 1.14.

(also tried on latest build - same behavior)

AWS-Based cluster

@rifelpet
Copy link
Member

Hi @richstokes, that feature was only recently added and will be in Kops 1.18: #7837 we may backport it to Kops 1.17 but I'm afraid you'll have to wait a bit until you can use this feature.

When you say you tried on latest build, what was the exact Kops version that you used? If you compile it yourself from master, that should work.

@richstokes
Copy link
Author

Sorry, by build I meant latest release (which is 1.15.2 via brew) - but thats OK, I can attach these manually for now and will revisit once we are on >1.18.0

Thanks

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 24, 2020
@olemarkus
Copy link
Member

I guess this one can just be closed now.
/close

@k8s-ci-robot
Copy link
Contributor

@olemarkus: Closing this issue.

In response to this:

I guess this one can just be closed now.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants