diff --git a/charts/tfjob/templates/tfjob.yaml b/charts/tfjob/templates/tfjob.yaml index 994c02068..658424f26 100644 --- a/charts/tfjob/templates/tfjob.yaml +++ b/charts/tfjob/templates/tfjob.yaml @@ -396,14 +396,12 @@ spec: - worker {{- end }} {{- end }} - {{- if .Values.ps }} {{- if .Values.useHostNetwork }} {{- if not .Values.useENI }} hostNetwork: {{ .Values.useHostNetwork }} dnsPolicy: ClusterFirstWithHostNet {{- end }} {{- end }} - {{- end }} {{- if .Values.useHostPID }} hostPID: {{ .Values.useHostPID }} {{- end }} @@ -718,14 +716,12 @@ spec: - worker {{- end }} {{- end }} - {{- if .Values.ps }} {{- if .Values.useHostNetwork }} {{- if not .Values.useENI }} hostNetwork: {{ .Values.useHostNetwork }} dnsPolicy: ClusterFirstWithHostNet {{- end }} {{- end }} - {{- end }} {{- if .Values.useHostPID }} hostPID: {{ .Values.useHostPID }} {{- end }} @@ -999,14 +995,12 @@ spec: {{- end }} {{- end }} {{- end }} - {{- if .Values.ps }} {{- if .Values.useHostNetwork }} {{- if not .Values.useENI }} hostNetwork: {{ .Values.useHostNetwork }} dnsPolicy: ClusterFirstWithHostNet {{- end }} {{- end }} - {{- end }} {{- if .Values.useHostPID }} hostPID: {{ .Values.useHostPID }} {{- end }}