Skip to content

Commit

Permalink
Fix observability operator resources (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo authored Nov 7, 2023
1 parent ec396e5 commit eafa424
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ spec:
sourceNamespace: {{ include "observability.namespace" . }}
startingCSV: observability-operator.{{ .Values.observabilityOperatorVersion }}
config:
# set the resources if they are provided
{{- if ((.Values.observabilityOperator).resources) }}
resources:
requests:
cpu: {{ .Values.observabilityOperator.resources.requests.cpu | quote }}
memory: {{ .Values.observabilityOperator.resources.requests.memory | quote }}
limits:
cpu: {{ .Values.observabilityOperator.resources.limits.cpu | quote }}
memory: {{ .Values.observabilityOperator.resources.limits.memory | quote }}
{{ .Values.observabilityOperator.resources | toYaml | nindent 6 }}
{{- end }}

0 comments on commit eafa424

Please sign in to comment.