Skip to content

Commit

Permalink
Merge pull request crossplane#5526 from mboutet/patch-1
Browse files Browse the repository at this point in the history
fix(helm): Explicitly set divisor in rbac-manager resources
  • Loading branch information
bobh66 authored Apr 1, 2024
2 parents e49bb07 + b49f2da commit d35ecef
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 d35ecef

Please sign in to comment.