From b49f2da4685c5a7e5bea3a16e4db0fc8896ccde2 Mon Sep 17 00:00:00 2001 From: Maxence Boutet <52334444+mboutet@users.noreply.github.com> Date: Thu, 28 Mar 2024 08:55:16 -0400 Subject: [PATCH] fix: helm chart: explicitly set divisor in rbac-manager containers resources Signed-off-by: Maxence Boutet <52334444+mboutet@users.noreply.github.com> --- .../charts/crossplane/templates/rbac-manager-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cluster/charts/crossplane/templates/rbac-manager-deployment.yaml b/cluster/charts/crossplane/templates/rbac-manager-deployment.yaml index c94915d9c01..aaa5a71aba4 100644 --- a/cluster/charts/crossplane/templates/rbac-manager-deployment.yaml +++ b/cluster/charts/crossplane/templates/rbac-manager-deployment.yaml @@ -64,11 +64,13 @@ spec: resourceFieldRef: containerName: {{ .Chart.Name }}-init resource: limits.cpu + divisor: "1" - name: GOMEMLIMIT valueFrom: resourceFieldRef: containerName: {{ .Chart.Name }}-init resource: limits.memory + divisor: "1" containers: - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}" args: @@ -97,11 +99,13 @@ spec: resourceFieldRef: containerName: {{ .Chart.Name }} resource: limits.cpu + divisor: "1" - name: GOMEMLIMIT valueFrom: resourceFieldRef: containerName: {{ .Chart.Name }} resource: limits.memory + divisor: "1" - name: LEADER_ELECTION value: "{{ .Values.rbacManager.leaderElection }}" {{- range $key, $value := .Values.extraEnvVarsRBACManager }}