From 5a84b3a548841cfb87f2bb23e2333862c4e3198f 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 activation of networkPolicies on the DevOps Stack modules is an ongoing project, so I'll disable this for the time being. --- locals.tf | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/locals.tf b/locals.tf index ceeceddd..2a06c07d 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,20 @@ locals { ] }] } + networkPolicy = { + enabled = false + } + } + receive = { + networkPolicy = { + enabled = false + } + } + ruler = { + networkPolicy = { + enabled = false + } } - } }]