mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
34 lines
807 B
Text
34 lines
807 B
Text
|
|
---
|
||
|
|
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
|