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

Docs - Google Cross Project Scenario not Covered #1597

Closed
darkn3rd opened this issue May 23, 2020 · 14 comments · Fixed by #2759
Closed

Docs - Google Cross Project Scenario not Covered #1597

darkn3rd opened this issue May 23, 2020 · 14 comments · Fixed by #2759
Labels
kind/documentation Categorizes issue or PR as related to documentation.

Comments

@darkn3rd
Copy link
Contributor

What happened: Instructions for google provider will not work if Cloud DNS is in another project.

Instructions:

What you expected to happen: Instructions would have extra instructions for this use case.

How to reproduce it (as minimally and precisely as possible):

  1. In google project MYPROJECT_A - register zone + ns in Cloud DNS
  2. In google project MYPROJECT_B - create GKE cluster per instructions with the added scope to access modify DNS records
  3. Deploy external-dns manifest including - --google-project=MYPROJECT_A
  4. Deploy an application with annotation in service for the DNS, e.g. external-dns.alpha.kubernetes.io/hostname: my-hello-kube.mycompany.com

What actually happened:

In the logs:
time="2020-05-23T06:54:54Z" level=error msg="googleapi: Error 403: Forbidden, forbidden"

Anything else we need to know?: This use case is not covered in the documentation, and unlikely that users will be able to figure this out on their own except walking through the code. From what I understand, this will require referencing service account credentials that has DNS admin role. This use case is handled by the helm chart, and documented at http://tech.paulcz.net/kubernetes-cookbook/gcp/gcp-external-dns/. There needs to be equivalent documentation for the manifests.

Environment:

  • External-DNS version (use external-dns --version): 0.7.1
  • DNS provider: google
  • Others:
@darkn3rd darkn3rd added the kind/bug Categorizes issue or PR as related to a bug. label May 23, 2020
@Raffo
Copy link
Contributor

Raffo commented May 25, 2020

Hi @darkn3rd , feel free to open a PR with the documentation, if you want to. We can't foresee all the possible use cases, so we'll gladly get as many documentations PRs as possible.

@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 Aug 23, 2020
@seanmalloy
Copy link
Member

/remove-lifecycle stale
/kind documentation
/remove-kind bug

@k8s-ci-robot k8s-ci-robot added kind/documentation Categorizes issue or PR as related to documentation. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. kind/bug Categorizes issue or PR as related to a bug. labels Aug 24, 2020
@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 Nov 22, 2020
@seanmalloy
Copy link
Member

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 22, 2020
@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-contributor-experience at kubernetes/community.
/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 Feb 20, 2021
@seanmalloy
Copy link
Member

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 22, 2021
@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-contributor-experience at kubernetes/community.
/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 23, 2021
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

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

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 22, 2021
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/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.

@darkn3rd
Copy link
Contributor Author

darkn3rd commented May 9, 2022

/reopen
/remove-lifecycle rotten

@k8s-ci-robot
Copy link
Contributor

@darkn3rd: Reopened this issue.

In response to this:

/reopen
/remove-lifecycle rotten

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.

@k8s-ci-robot k8s-ci-robot reopened this May 9, 2022
@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label May 9, 2022
@darkn3rd
Copy link
Contributor Author

darkn3rd commented May 9, 2022

The current docs around google provider document a highly unlikely scenario, even for test environments (as it doesn't reflect any real world scenario, at least in my experience):

  • using a single project for both CloudDNS and GKE
  • adding a scope to read/write all CloudDNS zones within the same project

@darkn3rd darkn3rd mentioned this issue May 14, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants