Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/resource/statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
const (
stsSuffix string = "server"
initContainerCPU string = "100m"
initContainerMemory string = "500Mi"
initContainerMemory string = "64Mi"
defaultPVCName string = "persistence"
DeletionMarker string = "skipPreStopChecks"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/resource/statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,9 @@ var _ = Describe("StatefulSet", func() {

resources := statefulSet.Spec.Template.Spec.InitContainers[0].Resources
Expect(resources.Requests["cpu"]).To(Equal(k8sresource.MustParse("100m")))
Expect(resources.Requests["memory"]).To(Equal(k8sresource.MustParse("500Mi")))
Expect(resources.Requests["memory"]).To(Equal(k8sresource.MustParse("64Mi")))
Expect(resources.Limits["cpu"]).To(Equal(k8sresource.MustParse("100m")))
Expect(resources.Limits["memory"]).To(Equal(k8sresource.MustParse("500Mi")))
Expect(resources.Limits["memory"]).To(Equal(k8sresource.MustParse("64Mi")))
})

It("exposes required Container Ports", func() {
Expand Down
Loading