From b43bc57a91fb3bc953c53c4606e700e8437414d4 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Mon, 2 Sep 2024 18:46:31 +0100 Subject: [PATCH] fix: remove default value of stateful set replicas Signed-off-by: Ben Meier --- internal/convert/workloads.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/convert/workloads.go b/internal/convert/workloads.go index e43d0e1..a87dc26 100644 --- a/internal/convert/workloads.go +++ b/internal/convert/workloads.go @@ -254,7 +254,6 @@ func ConvertWorkload(state *project.State, workloadName string) ([]machineryMeta Labels: commonLabels, }, Spec: v1.StatefulSetSpec{ - Replicas: internal.Ref(int32(1)), Selector: &machineryMeta.LabelSelector{ MatchLabels: map[string]string{ SelectorLabelInstance: commonLabels[SelectorLabelInstance],