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) }}