Skip to content

Commit

Permalink
fix: disable networkPolicy on all components
Browse files Browse the repository at this point in the history
The activation of networkPolicies on the DevOps Stack modules is an ongoing project, so I'll disable this for the time being.
  • Loading branch information
lentidas committed Mar 1, 2024
1 parent 43096a2 commit 942d3d5
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -69,6 +73,9 @@ locals {
"thanos-storegateway:10901"
]
resources = local.thanos.query_resources
networkPolicy = {
enabled = false
}
}

compactor = {
Expand All @@ -87,6 +94,9 @@ locals {
]
size = local.thanos.compactor_persistence_size
}
networkPolicy = {
enabled = false
}
}

bucketweb = {
Expand Down Expand Up @@ -172,6 +182,9 @@ locals {
]
}]
}
networkPolicy = {
enabled = false
}
}

queryFrontend = {
Expand Down Expand Up @@ -299,8 +312,20 @@ locals {
]
}]
}
networkPolicy = {
enabled = false
}
}
receive = {
networkPolicy = {
enabled = false
}
}
ruler = {
networkPolicy = {
enabled = false
}
}

}
}]

Expand Down

0 comments on commit 942d3d5

Please sign in to comment.