From 0346c2340fb95cb107fe0092ea1b68390bdbe6e9 Mon Sep 17 00:00:00 2001 From: Marco Pracucci Date: Tue, 14 Dec 2021 17:33:20 +0100 Subject: [PATCH] Fix newStoreGatewayStatefulSet() to use input container Signed-off-by: Marco Pracucci --- cortex/tsdb.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cortex/tsdb.libsonnet b/cortex/tsdb.libsonnet index b79cd9d..1590209 100644 --- a/cortex/tsdb.libsonnet +++ b/cortex/tsdb.libsonnet @@ -256,7 +256,7 @@ $.jaeger_mixin, newStoreGatewayStatefulSet(name, container):: - statefulSet.new(name, 3, [$.store_gateway_container], store_gateway_data_pvc) + + statefulSet.new(name, 3, [container], store_gateway_data_pvc) + statefulSet.mixin.spec.withServiceName(name) + statefulSet.mixin.metadata.withNamespace($._config.namespace) + statefulSet.mixin.metadata.withLabels({ name: name }) +