Skip to content

Commit e146752

Browse files
authored
Merge pull request #33 from Marcondiro/master
Minor fixes in helm charts
2 parents d1cad01 + 79b2c39 commit e146752

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

helm/charts/sf-chart/templates/daemonset.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ spec:
264264
- mountPath: /host/etc
265265
name: etc-fs
266266
readOnly: true
267-
{{- if .Values.sfcollector.driverType "kmod" }}
267+
{{- if eq .Values.sfcollector.driverType "kmod" }}
268268
- mountPath: /sys/module
269269
name: sysmodule
270270
readOnly: false
@@ -438,7 +438,7 @@ spec:
438438
- name: varlib
439439
hostPath:
440440
path: /var/lib
441-
{{- if .Values.sfcollector.driverType "kmod" }}
441+
{{- if eq .Values.sfcollector.driverType "kmod" }}
442442
- name: sysmodule
443443
hostPath:
444444
path: /sys/module

helm/charts/sf-chart/templates/tests/test-collector-lsmod.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
{{- if eq .Values.sfcollector.driverType "kmod" }}
1617
apiVersion: v1
1718
kind: Pod
1819
metadata:
@@ -53,3 +54,4 @@ spec:
5354
hostNetwork: false
5455
hostPID: false
5556
restartPolicy: Never
57+
{{- end }}

0 commit comments

Comments
 (0)