feat(e2e-test): Add e2e-tests for zfs-localpv (#298)

Signed-off-by: w3aman <aman.gupta@mayadata.io>
This commit is contained in:
Aman Gupta 2021-06-09 21:21:39 +05:30 committed by GitHub
parent 53f872fcf1
commit 4e73638b5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
137 changed files with 8745 additions and 0 deletions

View file

@ -0,0 +1,34 @@
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
generateName: zv-property-modify-{{ fs_type }}-
spec:
selector:
matchLabels:
test: zv-property-modify-{{ fs_type }}
template:
metadata:
labels:
test: zv-property-modify-{{ fs_type }}
spec:
containers:
- name: zfsutils
image: quay.io/w3aman/zfsutils:ci
imagePullPolicy: IfNotPresent
command: ['sh', '-c', 'echo Hello! && sleep 1800']
volumeMounts:
- name: udev
mountPath: /run/udev
- name: device
mountPath: /dev
securityContext:
privileged: true
tty: true
volumes:
- hostPath:
path: /run/udev
name: udev
- hostPath:
path: /dev
name: device