From bdca631cbc0ed3c4da98ed3089610a02b3273236 Mon Sep 17 00:00:00 2001 From: Paul Flanagan Date: Thu, 2 May 2024 10:32:49 +0100 Subject: [PATCH] allow resource settings to be set for falcon sensor injector pod --- helm-charts/falcon-sensor/Chart.yaml | 4 ++-- .../falcon-sensor/templates/container_deployment_webhook.yaml | 2 +- helm-charts/falcon-sensor/values.yaml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/helm-charts/falcon-sensor/Chart.yaml b/helm-charts/falcon-sensor/Chart.yaml index 19585ec0..044396a4 100644 --- a/helm-charts/falcon-sensor/Chart.yaml +++ b/helm-charts/falcon-sensor/Chart.yaml @@ -15,12 +15,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.27.1 +version: 1.27.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 1.27.1 +appVersion: 1.27.2 keywords: - CrowdStrike diff --git a/helm-charts/falcon-sensor/templates/container_deployment_webhook.yaml b/helm-charts/falcon-sensor/templates/container_deployment_webhook.yaml index 0934e8f9..e14b4a2c 100644 --- a/helm-charts/falcon-sensor/templates/container_deployment_webhook.yaml +++ b/helm-charts/falcon-sensor/templates/container_deployment_webhook.yaml @@ -183,7 +183,7 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 resources: - {{- toYaml .Values.resources | nindent 12 }} + {{- toYaml .Values.container.resources | nindent 12 }} {{- if .Values.container.tolerations }} tolerations: {{- with .Values.container.tolerations }} diff --git a/helm-charts/falcon-sensor/values.yaml b/helm-charts/falcon-sensor/values.yaml index 566c7413..fe4bf913 100644 --- a/helm-charts/falcon-sensor/values.yaml +++ b/helm-charts/falcon-sensor/values.yaml @@ -225,6 +225,7 @@ container: tolerations: [] + # Configure the requests and limits of the injector container resources: # limits: # cpu: 100m