|
@@ -342,7 +342,7 @@ spec:
|
|
|
{{- if $commonCtx.eclAgentUseChildProcesses }}
|
|
|
{{- include "hpcc.addResources" (dict "me" .eclAgentResources) | indent 8 }}
|
|
|
{{- else if not $.Values.global.privileged }}
|
|
|
-{{- include "hpcc.addStubResources" . | indent 8 }}
|
|
|
+{{- include "hpcc.addStubResources" (dict "instances" .maxJobs) | indent 8 }}
|
|
|
{{- end }}
|
|
|
{{ include "hpcc.addImageAttrs" $commonCtx | indent 8 }}
|
|
|
volumeMounts:
|
|
@@ -401,7 +401,7 @@ spec:
|
|
|
value: "/tmp/{{ $commonCtx.thorAgentName }}.sentinel"
|
|
|
{{- include "hpcc.addSecurityContext" $commonCtx | indent 8 }}
|
|
|
{{- if not $.Values.global.privileged }}
|
|
|
-{{- include "hpcc.addStubResources" . | indent 8 }}
|
|
|
+{{- include "hpcc.addStubResources" (dict "instances" .maxGraphs) | indent 8 }}
|
|
|
{{- end }}
|
|
|
{{ include "hpcc.addImageAttrs" $commonCtx | indent 8 }}
|
|
|
volumeMounts:
|