12345678910111213141516171819202122232425262728293031323334 |
- kind: StatefulSet
- apiVersion: apps/v1
- metadata:
- name: csi-mockplugin-resizer
- spec:
- selector:
- matchLabels:
- app: csi-mockplugin-resizer
- replicas: 1
- template:
- metadata:
- labels:
- app: csi-mockplugin-resizer
- spec:
- serviceAccountName: csi-mock
- containers:
- - name: csi-resizer
- image: quay.io/k8scsi/csi-resizer:v0.1.0
- args:
- - "--v=5"
- - "--csi-address=$(ADDRESS)"
- env:
- - name: ADDRESS
- value: /csi/csi.sock
- imagePullPolicy: Always
- volumeMounts:
- - mountPath: /csi
- name: socket-dir
- volumes:
- - hostPath:
- path: /var/lib/kubelet/plugins/csi-mock
- type: DirectoryOrCreate
- name: socket-dir
|