Skip to content

Commit 0f2ef2d

Browse files
authored
fix(operator): Correct resource configuration templating in operator.yaml (#630)
1 parent 04351ed commit 0f2ef2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deployments/kai-scheduler/templates/services/operator.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ spec:
2323
- name: operator
2424
image: {{ .Values.global.registry }}/{{ .Values.operator.image.name }}:{{ .Chart.Version }}
2525
imagePullPolicy: {{ .Values.operator.image.pullPolicy }}
26+
{{- with .Values.operator.resources }}
2627
resources:
27-
{{- toYaml .Values.operator.resources | nindent 12 }}
28+
{{- toYaml . | nindent 12 }}
29+
{{- end }}
2830
args:
2931
- --metrics-bind-address={{ .Values.operator.metricsBindAddress | default ":8080" }}
3032
- --health-probe-bind-address={{ .Values.operator.probeBindAddress | default ":8081" }}

0 commit comments

Comments
 (0)