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

Pass Domain through on EKS Provision for Route53 Permissions #115

Closed
lukeweber opened this issue May 20, 2019 · 3 comments
Closed

Pass Domain through on EKS Provision for Route53 Permissions #115

lukeweber opened this issue May 20, 2019 · 3 comments
Assignees

Comments

@lukeweber
Copy link
Contributor

When we provision an EKS cluster, we create a Route53NodeInstancePolicy in our cloudformation script that allows full access from the node to administer the route53 records.
See: https://github.com/crossplaneio/crossplane/blob/3bc975537fe11b104779c0deac5d57ed8bf53bd2/pkg/clients/aws/eks/eks.go#L252

Note configuration notes here:
https://github.com/kubernetes-incubator/external-dns/blob/master/docs/tutorials/aws.md

We should improve the security model by limiting to the domain that cluster should operate on:

  1. Pass domain name through from claim
  2. Resolve domain name to actual hosted zone id
  3. Pass hosted zone id to cloudformation script in eks.go client to limit scope of permissions in aws role.
@ichekrygin
Copy link
Contributor

Let us revisit EKS design, specifically as it pertains to components: master, workers, security, and authz.

The initial (first glance) though, I don't think we should assume that all EKS clusters will be configured with External-DNS by default, hence, if this issue is driven primarily by this use case then I think we should carefully consider ramifications. I am not opposed to entertaining the possibilities of provisioning all EKS clusters (or all managed Kubernetes Clusters) with External-DNS support by default, but I think this topic warrants a wider discussion scope.

@ichekrygin ichekrygin self-assigned this May 24, 2019
@lukeweber
Copy link
Contributor Author

lukeweber commented May 25, 2019 via email

@negz negz transferred this issue from crossplane/crossplane Jan 24, 2020
@muvaf
Copy link
Member

muvaf commented Feb 24, 2021

Not relevant anymore.

@muvaf muvaf closed this as completed Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants