From d0c33c2e87289cf6da7f96a680c236011848bb2e Mon Sep 17 00:00:00 2001 From: Vivian Ta <ta.vivian@gmail.com> Date: Fri, 29 Mar 2024 15:29:45 -0700 Subject: [PATCH] fix: SWI-11761 add ability to set resources requests/limits for helper pod --- .../local-path-provisioner/templates/configmap.yaml | 3 +++ deploy/chart/local-path-provisioner/values.yaml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/deploy/chart/local-path-provisioner/templates/configmap.yaml b/deploy/chart/local-path-provisioner/templates/configmap.yaml index 60181e06..51fc64dc 100644 --- a/deploy/chart/local-path-provisioner/templates/configmap.yaml +++ b/deploy/chart/local-path-provisioner/templates/configmap.yaml @@ -52,3 +52,6 @@ data: image: {{ .Values.helperImage.repository }}:{{ .Values.helperImage.tag }} {{- end }} imagePullPolicy: {{ .Values.image.pullPolicy }} + resources: + {{- toYaml .Values.helperPod.resources | nindent 8 }} + diff --git a/deploy/chart/local-path-provisioner/values.yaml b/deploy/chart/local-path-provisioner/values.yaml index b3a6c549..e65e039e 100644 --- a/deploy/chart/local-path-provisioner/values.yaml +++ b/deploy/chart/local-path-provisioner/values.yaml @@ -116,6 +116,15 @@ resources: {} # cpu: 100m # memory: 128Mi +helperPod: + resources: {} + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + rbac: # Specifies whether RBAC resources should be created create: true -- GitLab