diff --git a/internal/deployer/constants.go b/internal/deployer/constants.go index 8b1739c..8d1afba 100644 --- a/internal/deployer/constants.go +++ b/internal/deployer/constants.go @@ -218,6 +218,13 @@ var ( "cpu": "400m", }, } + + securedClusterSensorResourcesCI = map[string]interface{}{ + "requests": map[string]string{ + "memory": "500Mi", + "cpu": "500m", + }, + } ) func internalCentralEndpoint(namespace string) string { diff --git a/internal/deployer/deploy_via_operator.go b/internal/deployer/deploy_via_operator.go index 3fc4790..1cfdd1b 100644 --- a/internal/deployer/deploy_via_operator.go +++ b/internal/deployer/deploy_via_operator.go @@ -756,6 +756,14 @@ func (d *Deployer) getSecuredClusterResourcesOperator(resourcesName string) map[ }, }, } + case "ci": + return map[string]interface{}{ + "spec": map[string]interface{}{ + "sensor": map[string]interface{}{ + "resources": securedClusterSensorResourcesCI, + }, + }, + } default: return nil }