浏览代码

Merge pull request #13457 from richardkchapman/config-helm2

HPCC-23627 Add all values in helm charts automatically to config file

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 5 年之前
父节点
当前提交
c8c04f75aa
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      dockerfiles/hpcc/templates/_helpers.tpl

+ 1 - 3
dockerfiles/hpcc/templates/_helpers.tpl

@@ -113,9 +113,7 @@ volumeMounts:
 
 {{- /* Add config arg for a component */ -}}
 {{- define "hpcc.configArg" -}}
-{{- if or (hasKey . "configFile") (hasKey . "config") -}}
-"--config=/etc/config/{{ .name }}.yaml", {{ end -}}
-"--global=/etc/config/global.yaml"
+"--config=/etc/config/{{ .name }}.yaml", "--global=/etc/config/global.yaml"
 {{- end -}}
 
 {{- /* Add dali arg for a component */ -}}