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

Correct node pool external names #454

Conversation

JonathanO
Copy link
Contributor

@JonathanO JonathanO commented Jan 30, 2024

Description of your changes

container NodePool identifiers are in the form projects/my-gcp-project/locations/us-east1-a/clusters/my-cluster/nodePools/main-pool, however the ID of the cluster already contains the project and location parts of the path.

This will still generate incorrect IDs if the user supplies just the cluster name (without path) + location + project explicitly, however the pattern in other PRs is to assume that resources like cluster are passed with the path (as they will be if provided via the resolver.)

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Ran in kind.

Signed-off-by: Jonathan Oddy <[email protected]>
@Upbound-CLA
Copy link

Upbound-CLA commented Jan 30, 2024

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Jonathan Oddy <[email protected]>
@JonathanO JonathanO force-pushed the correct_node_pool_external_names branch from bc6b31d to 32e5411 Compare January 30, 2024 14:03
@JonathanO JonathanO closed this Mar 21, 2024
@JonathanO JonathanO deleted the correct_node_pool_external_names branch March 21, 2024 18:42
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

Successfully merging this pull request may close these issues.

2 participants