Skip to content

Commit

Permalink
fix: remove default replicas=1 value from workload conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
astromechza committed Sep 2, 2024
1 parent bbbdcdc commit f2601a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion internal/convert/workloads.go
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
1 change: 0 additions & 1 deletion internal/convert/workloads_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ metadata:
app.kubernetes.io/name: example
name: example
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: example-abcdef
Expand Down

0 comments on commit f2601a1

Please sign in to comment.