From b8a6fe968f2dcddb510c6f0b72f138e13a504d0d Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Thu, 28 Sep 2023 01:33:01 +0200
Subject: [PATCH] fix(crowdsec): Add missing resource definition

---
 apps/base/crowdsec/release.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/apps/base/crowdsec/release.yaml b/apps/base/crowdsec/release.yaml
index d8ea75e4e..ca8e88600 100644
--- a/apps/base/crowdsec/release.yaml
+++ b/apps/base/crowdsec/release.yaml
@@ -41,6 +41,13 @@ data:
   values.yaml: |
     container_runtime: containerd
     agent:
+      resources:
+        limits:
+          cpu: '1'
+          memory: 100Mi
+        requests:
+          cpu: 150m
+          memory: 100Mi
       # To specify each pod you want to process it logs (pods present in the node)
       acquisition:
         # The namespace where the pod is located
@@ -58,6 +65,13 @@ data:
       - name: COLLECTIONS
         value: "crowdsecurity/nginx"
     lapi:
+      resources:
+        limits:
+          cpu: '1'
+          memory: 100Mi
+        requests:
+          cpu: 150m
+          memory: 100Mi
       env:
         # As it's a test, we don't want to share signals with CrowdSec, so disable the Online API.
         - name: DISABLE_ONLINE_API
-- 
GitLab