Skip to content

Commit ff8ef23

Browse files
authored
set central-db PVC to 30GB for small resource profile (#108)
1 parent affbf60 commit ff8ef23

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

internal/deployer/constants.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ package deployer
33
import "fmt"
44

55
var (
6+
centralDbPVCSizeSmall = "30Gi"
7+
68
centralResourcesSmall = map[string]interface{}{
79
"requests": map[string]string{
810
"memory": "1Gi",

internal/deployer/deploy_via_operator.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,11 @@ func (d *Deployer) getCentralResourcesOperator(resourcesName string) map[string]
290290
"resources": centralResourcesSmall,
291291
"db": map[string]interface{}{
292292
"resources": centralDbResourcesSmall,
293+
"persistence": map[string]interface{}{
294+
"persistentVolumeClaim": map[string]interface{}{
295+
"size": centralDbPVCSizeSmall,
296+
},
297+
},
293298
},
294299
},
295300
"scanner": map[string]interface{}{

0 commit comments

Comments
 (0)