From ef0ea91ec5c91ccbab0aa9b398bec3318971fd5a Mon Sep 17 00:00:00 2001 From: bnallapeta Date: Wed, 7 Aug 2024 19:29:03 +0530 Subject: [PATCH] fix default values for memory and cpu --- .../kubernetes/chart/reloader/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/kubernetes/chart/reloader/templates/deployment.yaml b/deployments/kubernetes/chart/reloader/templates/deployment.yaml index 493186b40..e4295c5f8 100644 --- a/deployments/kubernetes/chart/reloader/templates/deployment.yaml +++ b/deployments/kubernetes/chart/reloader/templates/deployment.yaml @@ -83,7 +83,7 @@ spec: {{- else }} valueFrom: resourceFieldRef: - resource: limits.memory + resource: limits.cpu {{- end }} - name: GOMEMLIMIT {{- if .Values.reloader.deployment.gomemlimitOverride }} @@ -91,7 +91,7 @@ spec: {{- else }} valueFrom: resourceFieldRef: - resource: limits.cpu + resource: limits.memory {{- end }} {{- range $name, $value := .Values.reloader.deployment.env.open }} {{- if not (empty $value) }}