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

RegionTargetHTTPProxy - Use selflink for resolving RegionURLMap #83

Conversation

Pocokwins
Copy link
Contributor

Description of your changes

Use selflink to resolve RegionURLMap instead of resource id.

Fixes #82

I have:

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

How has this code been tested

I've tested it manually by creating a new RegionTargetHTTPProxy, which managed to resolve the correct RegionURLMap with the urlMapSelector without hardcoding it's resource ID.

@ulucinar
Copy link
Collaborator

/test-examples="examples/compute/regiontargethttpproxy.yaml"

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Pocokwins for the PR, lgtm. Also successfully verified the change via uptest with the comment above (the provided example manifest in the repo contains the affected reference).

@ulucinar ulucinar merged commit e0252bb into crossplane-contrib:main Dec 20, 2022
@oskisk oskisk deleted the RegionTargetHTTPProxy_Use-selflink-instead-of-resourceId branch December 21, 2022 08:07
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.

RegionTargetHTTPProxy - Use SelfLink instead of resource ID
2 participants