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

GKE provider tutorial - insructions for creating GKE #2747

Closed
darkn3rd opened this issue May 10, 2022 · 1 comment · Fixed by #2759
Closed

GKE provider tutorial - insructions for creating GKE #2747

darkn3rd opened this issue May 10, 2022 · 1 comment · Fixed by #2759
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@darkn3rd
Copy link
Contributor

darkn3rd commented May 10, 2022

What happened: Instructions to create GKE are invalid. (ref)

What you expected to happen: The instructions would be valid, instead:

ERROR: (gcloud.container.clusters.create) One of [--zone, --region] must be supplied: Please specify location.

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

gcloud container clusters create "external-dns" \
    --num-nodes 1 \
    --scopes "https://www.googleapis.com/auth/ndev.clouddns.readwrite"

Anything else we need to know?: Using the default compute GSA is dangerous as this can be used for privilege escalation. This is on top of using a scope to grant all GKE nodes to access Cloud DNS zones.

Environment:

  • External-DNS version (use external-dns --version): v0.11.0
  • DNS provider: CloudDNS
  • Kubernetes: 1.21.10-gke.2000
@darkn3rd darkn3rd added the kind/bug Categorizes issue or PR as related to a bug. label May 10, 2022
@darkn3rd
Copy link
Contributor Author

This can be assigned to me (@darkn3rd), I am working on a PR.

@darkn3rd darkn3rd mentioned this issue May 14, 2022
2 tasks
@darkn3rd darkn3rd changed the title GKE provider tutorial - insructions for creating GKE are invalid GKE provider tutorial - insructions for creating GKE May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant