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

[GCP IMDS] Use fully qualified name #2060

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

Arkelenia
Copy link

@Arkelenia Arkelenia commented Mar 16, 2025

Use the fully-qualified name for the GCP IMDS endpoint

Description

This PR replaces the current IMDS endpoint http://metadata/computeMetadata/v1/... with the fully-qualified name version http://metadata.google.internal/computeMetadata/v1/....

The current state assumes the presence of google.internal as a search domain to work properly which may not be the case when the endpoint is resolved from a container or a Kubernetes pod running on a GCP node.

Status

ready for review

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

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.

1 participant