Skip to content

Commit

Permalink
Merge pull request #527 from OctopusDeploy/bug/k8sazureauth
Browse files Browse the repository at this point in the history
Default to AzureCloud if Azure environment hasn't been set
  • Loading branch information
hnrkndrssn authored Mar 11, 2020
2 parents bc97840 + c7cae67 commit 13f720e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ $OctopusAzureADTenantId = $OctopusParameters["Octopus.Action.Azure.TenantId"]
$OctopusAzureADClientId = $OctopusParameters["Octopus.Action.Azure.ClientId"]
$OctopusAzureADPassword = $OctopusParameters["Octopus.Action.Azure.Password"]
$OctopusAzureEnvironment = $OctopusParameters["Octopus.Action.Azure.Environment"]
if ($null -eq $OctopusAzureEnvironment) {
$OctopusAzureEnvironment = "AzureCloud"
}
$OctopusDisableAzureCLI = $OctopusParameters["OctopusDisableAzureCLI"]

function EnsureDirectoryExists([string] $path)
Expand Down

0 comments on commit 13f720e

Please sign in to comment.