Skip to content

Commit 02a95b8

Browse files
authored
Add swagger defination for IMDS restriction feature (#29044)
* Add swagger defination for IMDS restriction feature * update swagger * fix spell
1 parent 5506bda commit 02a95b8

File tree

1 file changed

+26
-0
lines changed
  • specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview

1 file changed

+26
-0
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4917,6 +4917,28 @@
49174917
]
49184918
}
49194919
},
4920+
"PodLinkLocalAccess": {
4921+
"type": "string",
4922+
"description": "Defines access to special link local addresses (IMDS and wire server) for pods with hostNetwork=false. If not specified, the default is 'IMDS'.",
4923+
"enum": [
4924+
"IMDS",
4925+
"None"
4926+
],
4927+
"x-ms-enum": {
4928+
"name": "PodLinkLocalAccess",
4929+
"modelAsString": true,
4930+
"values": [
4931+
{
4932+
"value": "IMDS",
4933+
"description": "Pods with hostNetwork=false can access IMDS without restriction."
4934+
},
4935+
{
4936+
"value": "None",
4937+
"description": "Pods with hostNetwork=false cannot access IMDS and wire server."
4938+
}
4939+
]
4940+
}
4941+
},
49204942
"ManagedClusterWindowsProfile": {
49214943
"type": "object",
49224944
"properties": {
@@ -5149,6 +5171,10 @@
51495171
"title": "The IP families used to specify IP versions available to the cluster.",
51505172
"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."
51515173
},
5174+
"podLinkLocalAccess": {
5175+
"$ref": "#/definitions/PodLinkLocalAccess",
5176+
"description": "Defines access to special link local addresses (IMDS and wire server) for pods with hostNetwork=false. if not specified, the default is 'IMDS'."
5177+
},
51525178
"kubeProxyConfig": {
51535179
"type": "object",
51545180
"properties": {

0 commit comments

Comments
 (0)