apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: lvm-test
  namespace: default
  labels:
    app: lvm-installation
spec:
  selector:
    matchLabels:
      app: lvm-installation
  template:
    metadata:
      labels:
        app: lvm-installation
    spec:
      hostNetwork: true
      hostPID: true
      containers:
      - name: iscsi-installation
        command:
          - nsenter
          - --mount=/proc/1/ns/mnt
          - --
          - bash
          - -c
          - sleep 60000
        image: alpine:3.12
        securityContext:
          privileged: true
  updateStrategy:
    type: RollingUpdate
