Skip to content

Commit fed8187

Browse files
authored
chore: remove duplicate secrets store driver (#6773)
1 parent 5ccdbf4 commit fed8187

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

parts/common/components.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -343,22 +343,6 @@
343343
}
344344
]
345345
},
346-
{
347-
"downloadURL": "mcr.microsoft.com/oss/v2/kubernetes-csi/secrets-store/driver:*",
348-
"amd64OnlyVersions": [],
349-
"multiArchVersionsV2": [
350-
{
351-
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/v2/kubernetes-csi/secrets-store/driver",
352-
"latestVersion": "v1.5.3"
353-
}
354-
],
355-
"windowsVersions": [
356-
{
357-
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/v2/kubernetes-csi/secrets-store/driver",
358-
"latestVersion": "v1.5.3"
359-
}
360-
]
361-
},
362346
{
363347
"downloadURL": "mcr.microsoft.com/oss/azure/secrets-store/provider-azure:*",
364348
"amd64OnlyVersions": [],

vhdbuilder/packer/windows/components_json_helpers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,5 +310,5 @@ function GetAllCachedThings {
310310
$items += $regKey.Path + "\" + $regKey.Name + "=" + $regKey.Value
311311
}
312312

313-
return ($items | Sort-Object)
313+
return ($items | Sort-Object -Unique )
314314
}

vhdbuilder/scripts/windows/generate_cached_stuff_list.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ foreach ($WindowsSku in $BaseVersions)
6161
Write-Output "Creating file $fileName"
6262
Write-Output $WindowsSku > $fileName
6363

64-
echo $cachedThings | ConvertTo-Json | Write-Output >> $fileName
64+
echo $cachedThings | Set-Content -Path $fileName
6565
}

0 commit comments

Comments
 (0)