Skip to content

Commit 8219da1

Browse files
committed
revert back to single line if
1 parent 8d8c992 commit 8219da1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deploy/chart/templates/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
tolerations:
3838
{{- toYaml . | nindent 8 }}
3939
{{- end }}
40-
hostNetwork: {{ .Values.enableHostNetwork }}
40+
hostNetwork: {{ if hasKey .Values "enableHostNetwork" }}{{ .Values.enableHostNetwork }}{{ else }}true{{ end }}
4141
containers:
4242
- image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
4343
imagePullPolicy: {{ .Values.image.pullPolicy }}

deploy/chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ resources:
127127
# allowUnauthorizedMetrics: false
128128

129129
# enables host network
130-
enableHostNetwork: true
130+
# enableHostNetwork: true
131131

132132
# specify the update strategy
133133
# updateStrategy:

0 commit comments

Comments
 (0)