Skip to content

Commit 9f62cab

Browse files
cherry-pick: fix: default AKSAADServerAppID in kuberneteswindowssetup.ps1 (#7278) (#7279)
1 parent e057340 commit 9f62cab

File tree

19 files changed

+95
-0
lines changed

19 files changed

+95
-0
lines changed

parts/windows/kuberneteswindowssetup.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ $global:SecureTLSBootstrappingAADResource = "{{GetSecureTLSBootstrappingAADResou
185185
$global:SecureTLSBootstrappingUserAssignedIdentityID = "{{GetSecureTLSBootstrappingUserAssignedIdentityID}}";
186186
$global:CustomSecureTLSBootstrappingClientDownloadURL = "{{GetCustomSecureTLSBootstrappingClientDownloadURL}}";
187187

188+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
189+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
190+
# TODO(cameissner): remove once 2025-10B image is released
191+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
192+
188193
# Disable OutBoundNAT in Azure CNI configuration
189194
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("{{GetVariable "isDisableWindowsOutboundNat" }}");
190195

pkg/agent/testdata/AKSWindows2019+CustomCloud+ootcredentialprovider/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+CustomCloud/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+CustomVnet/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+EnablePrivateClusterHostsConfigAgent/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+K8S116/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+K8S117/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+K8S118/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+K8S119+CSI/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

pkg/agent/testdata/AKSWindows2019+K8S119+FIPS/CustomData

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ $global:SecureTLSBootstrappingAADResource = "";
179179
$global:SecureTLSBootstrappingUserAssignedIdentityID = "";
180180
$global:CustomSecureTLSBootstrappingClientDownloadURL = "";
181181

182+
# uniquely identifies AKS's Entra ID application, see: https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
183+
# this is used by aks-secure-tls-bootstrap-client.exe when requesting AAD tokens
184+
# TODO(cameissner): remove once 2025-10B image is released
185+
$global:AKSAADServerAppID = "6dae42f8-4368-4678-94ff-3960e28e3630"
186+
182187
# Disable OutBoundNAT in Azure CNI configuration
183188
$global:IsDisableWindowsOutboundNat = [System.Convert]::ToBoolean("false");
184189

0 commit comments

Comments
 (0)