Skip to content

Commit

Permalink
HPCC-29888 Ensure environment section is generated
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Smith <[email protected]>
  • Loading branch information
jakesmith committed Jul 5, 2023
1 parent b6f02c5 commit c99b5e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions helm/hpcc/templates/eclagent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,8 @@ data:
{{- include "hpcc.addResources" (dict "me" .me.resources) | indent 12 }}
{{- $appCmd := printf "%s %s %s _HPCC_ARGS_" $apptype (include "hpcc.configArg" .me) (include "hpcc.daliArg" (dict "root" .root "component" "ECL Agent" "optional" false )) }}
{{ include "hpcc.addCommandAndLifecycle" (. | merge (dict "command" $appCmd)) | indent 12 }}
{{- if .env }}
env:
{{ include "hpcc.mergeEnvironments" .env | indent 12 }}
{{- end }}
workingDir: /var/lib/HPCCSystems
volumeMounts:
{{ include "hpcc.addConfigMapVolumeMount" .me | indent 12 }}
Expand Down
6 changes: 0 additions & 6 deletions helm/hpcc/templates/thor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ data:
{{- include "hpcc.addResources" (dict "me" .eclAgentResources) | indent 12 }}
{{- $agentCmd := printf "%s %s %s _HPCC_ARGS_" $eclAgentType (include "hpcc.configArg" .me) (include "hpcc.daliArg" (dict "root" .root "component" "Thor" "optional" false)) }}
{{ include "hpcc.addCommandAndLifecycle" (. | merge (dict "command" $agentCmd)) | indent 12 }}
{{- if .env }}
env:
{{ include "hpcc.mergeEnvironments" .env | indent 12 }}
{{- end }}
workingDir: /var/lib/HPCCSystems
volumeMounts:
{{ include "hpcc.addConfigMapVolumeMount" .me | indent 12 }}
Expand Down Expand Up @@ -179,10 +177,8 @@ data:
{{- include "hpcc.addResources" (dict "me" $thorScope.managerResources) | indent 12 }}
{{- $thorManagerCmd := printf "thormaster_lcr %s %s _HPCC_ARGS_" (include "hpcc.configArg" .me) (include "hpcc.daliArg" (dict "root" .root "component" "Thor" "optional" false)) }}
{{ include "hpcc.addCommandAndLifecycle" (. | merge (dict "command" $thorManagerCmd)) | indent 12 }}
{{- if .env }}
env:
{{ include "hpcc.mergeEnvironments" .env | indent 12 }}
{{- end }}
workingDir: /var/lib/HPCCSystems
volumeMounts:
{{ include "hpcc.addConfigMapVolumeMount" .me | indent 12 }}
Expand Down Expand Up @@ -250,10 +246,8 @@ data:
{{- include "hpcc.addResources" (dict "me" $thorScope.workerResources) | indent 12 }}
{{- $thorWorkerCmd := printf "thorslave_lcr %s %s _HPCC_ARGS_ --slaveport=%d" (include "hpcc.configArg" $configCtx.me) (include "hpcc.daliArg" (dict "root" $configCtx.root "component" "Thor" "optional" false)) $slavePort }}
{{ include "hpcc.addCommandAndLifecycle" ($configCtx | merge (dict "command" $thorWorkerCmd)) | indent 12 }}
{{- if $configCtx.me.env }}
env:
{{ include "hpcc.mergeEnvironments" $configCtx.me.env | indent 12 }}
{{- end }}
workingDir: /var/lib/HPCCSystems
volumeMounts:
{{ include "hpcc.addConfigMapVolumeMount" $configCtx.me | indent 12 }}
Expand Down

0 comments on commit c99b5e3

Please sign in to comment.