Title: Change hardcoded "metadata" to "metadata.google.internal" · Issue #4269 · googleapis/google-cloud-java · GitHub
Open Graph Title: Change hardcoded "metadata" to "metadata.google.internal" · Issue #4269 · googleapis/google-cloud-java
X Title: Change hardcoded "metadata" to "metadata.google.internal" · Issue #4269 · googleapis/google-cloud-java
Description: Resolution of the metadata endpoint from within a Istio enabled GKE pod works only with "metadata.google.internal" as the url and not "metadata". No output is produced without the FQDN. $ curl "http://metadata/computeMetadata/v1/instance...
Open Graph Description: Resolution of the metadata endpoint from within a Istio enabled GKE pod works only with "metadata.google.internal" as the url and not "metadata". No output is produced without the FQDN. $ curl "htt...
X Description: Resolution of the metadata endpoint from within a Istio enabled GKE pod works only with "metadata.google.internal" as the url and not "metadata". No output is produced without t...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/4269
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Change hardcoded \"metadata\" to \"metadata.google.internal\"","articleBody":"Resolution of the metadata endpoint from within a Istio enabled GKE pod works only with \"metadata.google.internal\" as the url and not \"metadata\". No output is produced without the FQDN.\r\n```\r\n$ curl \"http://metadata/computeMetadata/v1/instance/disks/\" -H \"Metadata-Flavor: Google\"\r\n$ curl \"http://metadata.google.internal/computeMetadata/v1/instance/disks/\" -H \"Metadata-Flavor: Google\"\r\n0/\r\n```\r\nCan this be changed to include the FQDN?\r\nhttps://github.com/googleapis/google-cloud-java/blob/36fbd97799e222fac888ca5e643beb37d6700c77/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java#L36","author":{"url":"https://github.com/kbhattac","@type":"Person","name":"kbhattac"},"datePublished":"2018-12-31T12:15:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4269/google-cloud-java/issues/4269"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:02d0045a-5f88-4853-b287-53d2cb6f1d92 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3FE:39CFC7:1BAEBB4:28041DC:6A4CFB8D |
| html-safe-nonce | 24eade52c114e7b96b7eca6741dd1975b86c541626a5579c8fccfdcb79ae2483 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0ZFOjM5Q0ZDNzoxQkFFQkI0OjI4MDQxREM6NkE0Q0ZCOEQiLCJ2aXNpdG9yX2lkIjoiOTExODcwODI1OTc3NDg1NjA3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44f0e7c9589a1e502756db422b3b1923108dfed9c0399f5d9f168cafb043bc14 |
| hovercard-subject-tag | issue:394972233 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/4269/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37f3897be39f61404ceb2dbd65be4d8bc3e15f0589ffc9266a4e19ec1333356c/googleapis/google-cloud-java/issues/4269 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37f3897be39f61404ceb2dbd65be4d8bc3e15f0589ffc9266a4e19ec1333356c/googleapis/google-cloud-java/issues/4269 |
| og:image:alt | Resolution of the metadata endpoint from within a Istio enabled GKE pod works only with "metadata.google.internal" as the url and not "metadata". No output is produced without the FQDN. $ curl "htt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kbhattac |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8307e9ba117a26e92a64fb1daf085d795a6552ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width