mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
always allow unimportant legacy root paths
This commit is contained in:
@@ -32,6 +32,8 @@ var (
|
|||||||
"http://metadata.google.internal",
|
"http://metadata.google.internal",
|
||||||
"http://169.254.169.254/",
|
"http://169.254.169.254/",
|
||||||
"http://metadata.google.internal/",
|
"http://metadata.google.internal/",
|
||||||
|
"http://metadata.google.internal/0.1",
|
||||||
|
"http://metadata.google.internal/0.1/",
|
||||||
"http://metadata.google.internal/computeMetadata",
|
"http://metadata.google.internal/computeMetadata",
|
||||||
"http://metadata.google.internal/computeMetadata/v1",
|
"http://metadata.google.internal/computeMetadata/v1",
|
||||||
// Allowed API versions.
|
// Allowed API versions.
|
||||||
@@ -44,8 +46,6 @@ var (
|
|||||||
}
|
}
|
||||||
legacySuccessEndpoints = []string{
|
legacySuccessEndpoints = []string{
|
||||||
// Discovery
|
// Discovery
|
||||||
"http://metadata.google.internal/0.1",
|
|
||||||
"http://metadata.google.internal/0.1/",
|
|
||||||
"http://metadata.google.internal/0.1/meta-data",
|
"http://metadata.google.internal/0.1/meta-data",
|
||||||
"http://metadata.google.internal/computeMetadata/v1beta1",
|
"http://metadata.google.internal/computeMetadata/v1beta1",
|
||||||
// Allowed API versions.
|
// Allowed API versions.
|
||||||
|
Reference in New Issue
Block a user