From a9c439ffa46468a5f9b3a670d2af0224c24017b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Heleno?= Date: Fri, 1 Mar 2024 14:21:08 +0100 Subject: [PATCH] fix: disable networkPolicy on all components The progress of enabling the networkPolicies on the DevOps Stack modules is an ongoing project, so I'll disable this for the time being. --- locals.tf | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/locals.tf b/locals.tf index ceeceddd..2624dc64 100644 --- a/locals.tf +++ b/locals.tf @@ -29,12 +29,16 @@ locals { enabled = var.enable_service_monitor } } + storegateway = { enabled = true persistence = { enabled = false } resources = local.thanos.storegateway_resources + networkPolicy = { + enabled = false + } extraFlags = [ # Store Gateway index cache config -> https://thanos.io/tip/components/store.md/#index-cache <<-EOT @@ -69,6 +73,9 @@ locals { "thanos-storegateway:10901" ] resources = local.thanos.query_resources + networkPolicy = { + enabled = false + } } compactor = { @@ -87,6 +94,9 @@ locals { ] size = local.thanos.compactor_persistence_size } + networkPolicy = { + enabled = false + } } bucketweb = { @@ -172,6 +182,9 @@ locals { ] }] } + networkPolicy = { + enabled = false + } } queryFrontend = { @@ -299,8 +312,10 @@ locals { ] }] } + networkPolicy = { + enabled = false + } } - } }]