diff --git a/internal/convert/workloads.go b/internal/convert/workloads.go index 8adcb31..e43d0e1 100644 --- a/internal/convert/workloads.go +++ b/internal/convert/workloads.go @@ -209,7 +209,6 @@ func ConvertWorkload(state *project.State, workloadName string) ([]machineryMeta Labels: commonLabels, }, Spec: v1.DeploymentSpec{ - Replicas: internal.Ref(int32(1)), Selector: &machineryMeta.LabelSelector{ MatchLabels: map[string]string{ SelectorLabelInstance: commonLabels[SelectorLabelInstance], diff --git a/internal/convert/workloads_test.go b/internal/convert/workloads_test.go index 8572cb4..4f41f1a 100644 --- a/internal/convert/workloads_test.go +++ b/internal/convert/workloads_test.go @@ -173,7 +173,6 @@ metadata: app.kubernetes.io/name: example name: example spec: - replicas: 1 selector: matchLabels: app.kubernetes.io/instance: example-abcdef