Skip to content

Commit 34c83b3

Browse files
authored
Fix custom location enable flag issue (#24005)
1 parent a1d63cd commit 34c83b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/New-AzConnectedKubernetes.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ function New-AzConnectedKubernetes {
492492
}
493493
if (-not ([string]::IsNullOrEmpty($CustomLocationsOid))) {
494494
$options += " --set systemDefaultValues.customLocations.oid=$CustomLocationsOid"
495+
$options += " --set systemDefaultValues.customLocations.enabled=true"
495496
}
496497
if (!$NoWait) {
497498
$options += " --wait --timeout $OnboardingTimeout"

0 commit comments

Comments
 (0)