File tree 2 files changed +4
-2
lines changed
helm/charts/sf-chart/templates
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ spec:
264
264
- mountPath : /host/etc
265
265
name : etc-fs
266
266
readOnly : true
267
- {{- if .Values.sfcollector.driverType "kmod" }}
267
+ {{- if eq .Values.sfcollector.driverType "kmod" }}
268
268
- mountPath : /sys/module
269
269
name : sysmodule
270
270
readOnly : false
@@ -438,7 +438,7 @@ spec:
438
438
- name : varlib
439
439
hostPath :
440
440
path : /var/lib
441
- {{- if .Values.sfcollector.driverType "kmod" }}
441
+ {{- if eq .Values.sfcollector.driverType "kmod" }}
442
442
- name : sysmodule
443
443
hostPath :
444
444
path : /sys/module
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
16
+ {{- if eq .Values.sfcollector.driverType "kmod" }}
16
17
apiVersion : v1
17
18
kind : Pod
18
19
metadata :
53
54
hostNetwork : false
54
55
hostPID : false
55
56
restartPolicy : Never
57
+ {{- end }}
You can’t perform that action at this time.
0 commit comments