浏览代码

Set hostnetwork

Waqar Ahmed 4 年之前
父节点
当前提交
c0b76b6d28
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/ix-chart/2010.0.2/templates/_workload.tpl

+ 1 - 0
test/ix-chart/2010.0.2/templates/_workload.tpl

@@ -51,6 +51,7 @@ Pod specification
 */}}
 {{- define "podSepc" }}
 restartPolicy: {{ template "restartPolicy" . }}
+hostNetwork: {{ .Values.hostNetwork }}
 containers:
 - name: {{ .Chart.Name }}
   {{- include "volumeMountsConfiguration" . | indent 2}}