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

Add swagger defination for IMDS restriction feature #29044

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4885,6 +4885,28 @@
]
}
},
"PodLinkLocalAccess": {
"type": "string",
"description": "Defines access to special link local addresses (IMDS and wire server) for pods with hostNetwork=false. If not specified, the default is 'IMDS'.",
"enum": [
"IMDS",
"None"
],
"x-ms-enum": {
"name": "PodLinkLocalAccess",
"modelAsString": true,
"values": [
{
"value": "IMDS",
"description": "Pods with hostNetwork=false can access IMDS without restriction."
},
{
"value": "None",
"description": "Pods with hostNetwork=false cannot access IMDS and wire server."
}
]
}
},
"ManagedClusterWindowsProfile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5117,6 +5139,10 @@
"title": "The IP families used to specify IP versions available to the cluster.",
"description": "IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6."
},
"podLinkLocalAccess": {
"$ref": "#/definitions/PodLinkLocalAccess",
"description": "Defines access to special link local addresses (IMDS and wire server) for pods with hostNetwork=false. if not specified, the default is 'IMDS'."
},
"kubeProxyConfig": {
"type": "object",
"properties": {
Expand Down