---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: alpine-disk
  labels:
    app: alpine-disk
spec:
  replicas: 1
  selector:
    matchLabels:
      app: alpine-disk
  template:
    metadata:
      labels:
        app: alpine-disk
    spec:
      containers:
      - name: alpine-disk
        image: alpine
        volumeMounts:
        - mountPath: "/data"
          name: my-csi-volume
        command: [ "sleep", "1000000" ]
      volumes:
        - name: my-csi-volume
          persistentVolumeClaim:
            claimName: csi-pvc-disk
