Skip to content

Commit

Permalink
fix: helm chart: explicitly set divisor in rbac-manager containers re…
Browse files Browse the repository at this point in the history
…sources

Signed-off-by: Maxence Boutet <[email protected]>
  • Loading branch information
mboutet authored Mar 28, 2024
1 parent 0876780 commit b49f2da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit b49f2da

Please sign in to comment.