From 3c3f76effdca0da2c944eb71cfec89da140a68f2 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Thu, 20 Jun 2024 16:04:59 +0200 Subject: [PATCH] feat(vnets) enable Keyvault and Storage endpoints for infracijio-agents-1 subnet Signed-off-by: Damien Duportal --- vnets.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vnets.tf b/vnets.tf index 821be80..f817529 100644 --- a/vnets.tf +++ b/vnets.tf @@ -291,6 +291,8 @@ resource "azurerm_subnet" "infra_ci_jenkins_io_kubernetes_agent_sponsorship" { resource_group_name = azurerm_virtual_network.infra_ci_jenkins_io_sponsorship.resource_group_name virtual_network_name = azurerm_virtual_network.infra_ci_jenkins_io_sponsorship.name address_prefixes = ["10.206.2.0/24"] # 10.206.2.0 - 10.206.2.254 + # Enable KeyVault and Storage service endpoints so agents can access Storage Account through internal routes + secrets + service_endpoints = ["Microsoft.KeyVault", "Microsoft.Storage"] } # This subnet is reserved as "delegated" for the pgsql server on the public-db network