Commit 8f240452 authored by Sacha Brants's avatar Sacha Brants
Browse files

Merge branch 'slb/dm3/fix-metadata' into 'master'

fix: google metadata IP hardcoded in the configuration

See merge request !177
parents e6f2606c f83337ad
Pipeline #60535 passed with stages
in 10 minutes and 50 seconds
......@@ -675,7 +675,7 @@ The following software have components provided under the terms of this license:
- npm-run-path (from https://www.npmjs.com/package/npm-run-path)
- npmlog (from https://www.npmjs.com/package/npmlog)
- number-is-nan (from https://github.com/sindresorhus/number-is-nan#readme)
- object-assign (from https://github.com/sindresorhus/object-assign#readme)
- object-assign (from https://www.npmjs.com/package/object-assign)
- object-hash (from https://www.npmjs.com/package/object-hash)
- object-inspect (from https://www.npmjs.com/package/object-inspect)
- object-inspect (from https://www.npmjs.com/package/object-inspect)
......@@ -930,4 +930,6 @@ The following software have components provided under the terms of this license:
- jmespath (from https://www.npmjs.com/package/jmespath)
- json-schema (from http://github.com/kriszyp/json-schema)
- querystring (from https://www.npmjs.com/package/querystring)
- sax (from https://www.npmjs.com/package/sax)
\ No newline at end of file
- sax (from https://www.npmjs.com/package/sax)
......@@ -27,7 +27,7 @@ export class ConfigGoogle extends Config {
// endpoints
public static GOOGLE_EP_IAM = 'https://iam.googleapis.com/v1';
public static GOOGLE_EP_OAUTH2 = 'https://www.googleapis.com/oauth2/v4';
public static GOOGLE_EP_METADATA = 'http://metadata/computeMetadata/v1';
public static GOOGLE_EP_METADATA = 'http://169.254.169.254/computeMetadata/v1';
public static GOOGLE_EP_ROBOT = 'https://www.googleapis.com/robot/v1';
public static GOOGLE_EP_RESOURCES = 'https://cloudresourcemanager.googleapis.com/v1';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment