Skip to content

Commit

Permalink
Merge pull request #1116 from equinor/private_endpoint-postgres
Browse files Browse the repository at this point in the history
Add config for private endpoint postgres + Remove unused script for a…
  • Loading branch information
sveinpj authored Nov 29, 2023
2 parents 16b1d62 + 4be0e23 commit 00d30fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 63 deletions.
63 changes: 0 additions & 63 deletions scripts/enable_aksauditlog.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ declare -A DNS_ZONE_MAP=(
["mariadbServer"]="privatelink.mariadb.database.azure.com"
["sqlServer"]="privatelink.database.windows.net"
["registry"]="privatelink.azurecr.io"
["coordinator"]="privatelink.postgres.cosmos.azure.com"
)

dns_zone=${DNS_ZONE_MAP[$TARGET_SUBRESOURCE]} 2>/dev/null # can't figure out how to properly suppress this error message
Expand Down
1 change: 1 addition & 0 deletions scripts/radix-zone/radix_zone_prod.env
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ declare -a AZ_PRIVATE_DNS_ZONES=("privatelink.database.windows.net"
"privatelink.vaultcore.azure.net"
"privatelink.radix.equinor.com"
"privatelink.azurecr.io"
"privatelink.postgres.cosmos.azure.com"
)
RADIX_PE_KV_SECRET_NAME="radix-private-endpoints-${RADIX_ZONE}"
DDOS_PROTECTION_STANDARD_RESOURCE_ID="/subscriptions/ded7ca41-37c8-4085-862f-b11d21ab341a/resourceGroups/rg-protection-we/providers/Microsoft.Network/ddosProtectionPlans/ddos-protection"
Expand Down

0 comments on commit 00d30fa

Please sign in to comment.