Skip to content

Commit

Permalink
Update AKS Edge deployment version and schema version in LogonScript.ps1
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Egil Ring <[email protected]>
  • Loading branch information
janegilring committed Sep 2, 2024
1 parent 596aa22 commit 9c54b57
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Start-Transcript -Path C:\Temp\LogonScript.log

# Parameters
$AksEdgeRemoteDeployVersion = "1.7.639.0"
$schemaVersion = "1.9"
$versionAksEdgeConfig = "1.0"
$aksEdgeDeployModules = "main"
$aksEEReleasesUrl = "https://api.github.com/repos/Azure/AKS-Edge/releases"
Expand All @@ -28,7 +27,7 @@ if ($env:kubernetesDistribution -eq "k8s") {

Write-Host "Fetching the latest AKS Edge Essentials release."
if ($AKSEEPinnedSchemaVersion -ne "useLatest") {
$SchemaVersion = $AKSEEPinnedSchemaVersion
$schemaVersionAksEdgeConfig = $AKSEEPinnedSchemaVersion
}else{
$latestReleaseTag = (Invoke-WebRequest $aksEEReleasesUrl | ConvertFrom-Json)[0].tag_name
$AKSEEReleaseDownloadUrl = "https://github.com/Azure/AKS-Edge/archive/refs/tags/$latestReleaseTag.zip"
Expand All @@ -47,7 +46,7 @@ if ($AKSEEPinnedSchemaVersion -ne "useLatest") {
$aideuserConfig = @"
{
"SchemaVersion": "$AksEdgeRemoteDeployVersion",
"Version": "$schemaVersion",
"Version": "$schemaVersionAksEdgeConfig",
"AksEdgeProduct": "$productName",
"AksEdgeProductUrl": "",
"Azure": {
Expand Down

0 comments on commit 9c54b57

Please sign in to comment.