Skip to content

Commit

Permalink
fix default values for memory and cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
bnallapeta committed Aug 7, 2024
1 parent 32d5ce8 commit ef0ea91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ spec:
{{- else }}
valueFrom:
resourceFieldRef:
resource: limits.memory
resource: limits.cpu
{{- end }}
- name: GOMEMLIMIT
{{- if .Values.reloader.deployment.gomemlimitOverride }}
value: {{ .Values.reloader.deployment.gomemlimitOverride | quote }}
{{- else }}
valueFrom:
resourceFieldRef:
resource: limits.cpu
resource: limits.memory
{{- end }}
{{- range $name, $value := .Values.reloader.deployment.env.open }}
{{- if not (empty $value) }}
Expand Down

0 comments on commit ef0ea91

Please sign in to comment.