Skip to content

Commit

Permalink
[HOTFIX] Fix ingressWhitelist default quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Aug 13, 2024
1 parent 27d94da commit 588b79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/aks-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
$domainName = ($ingress.Split('.') | Select-Object -Last 2) -join '.'
$environmentIngress = "${{ inputs.environmentIngress }}" -replace '"', '' -replace "'", ""
$hostName = $ingress -replace $domainName, '' -replace "\.$", ""
if ([string]::IsNullOrEmpty(${{ inputs.ingressWhitelist }})) {
if ([string]::IsNullOrEmpty("${{ inputs.ingressWhitelist }}")) {
if ([string]::IsNullOrEmpty($appConfig.ingress.annotations."nginx.ingress.kubernetes.io/whitelist-source-range")) {
$ingressWhitelist = '0.0.0.0/0'
} else {
Expand Down

0 comments on commit 588b79d

Please sign in to comment.