Skip to content

Commit 79b2c39

Browse files
committed
fix(helm): run lsmod test only when driverType is kmod
Signed-off-by: Marcondiro <[email protected]>
1 parent c4ac62a commit 79b2c39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)