mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-21 04:20:23 +00:00
5983d5730a
This commit add external-snapshotter container and required rbac to support nfs snaphots. Example volumesnaphotclass, volumesnapshot, pvc-restore and pod-restore yamls are also added. Signed-off-by: Rakshith R <rar@redhat.com>
18 lines
352 B
YAML
18 lines
352 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: csi-nfs-restore-demo-pod
|
|
spec:
|
|
containers:
|
|
- name: web-server
|
|
image: docker.io/library/nginx:latest
|
|
volumeMounts:
|
|
- name: mypvc
|
|
mountPath: /var/lib/www
|
|
volumes:
|
|
- name: mypvc
|
|
persistentVolumeClaim:
|
|
claimName: nfs-pvc-restore
|
|
readOnly: false
|