From 729e4f498ae59e4632d62ff68abf779ecd31fe0a Mon Sep 17 00:00:00 2001 From: Johannes Malsam Date: Sun, 19 Apr 2026 11:18:03 +0200 Subject: [PATCH] set central-db PVC to 30GB for small resource profile --- internal/deployer/constants.go | 2 ++ internal/deployer/deploy_via_operator.go | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/internal/deployer/constants.go b/internal/deployer/constants.go index 80570437..cd464929 100644 --- a/internal/deployer/constants.go +++ b/internal/deployer/constants.go @@ -3,6 +3,8 @@ package deployer import "fmt" var ( + centralDbPVCSizeSmall = "30Gi" + centralResourcesSmall = map[string]interface{}{ "requests": map[string]string{ "memory": "1Gi", diff --git a/internal/deployer/deploy_via_operator.go b/internal/deployer/deploy_via_operator.go index d1c1cc28..a794b966 100644 --- a/internal/deployer/deploy_via_operator.go +++ b/internal/deployer/deploy_via_operator.go @@ -290,6 +290,11 @@ func (d *Deployer) getCentralResourcesOperator(resourcesName string) map[string] "resources": centralResourcesSmall, "db": map[string]interface{}{ "resources": centralDbResourcesSmall, + "persistence": map[string]interface{}{ + "persistentVolumeClaim": map[string]interface{}{ + "size": centralDbPVCSizeSmall, + }, + }, }, }, "scanner": map[string]interface{}{