mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-25 14:30:22 +00:00
75b9b9fe6d
This change resolves a typo for installing the CSIDriver resource in Kubernetes clusters before 1.18, where the apiVersion is incorrect. See also: https://kubernetes-csi.github.io/docs/csi-driver-object.html [ndevos: replace v1betav1 in examples with v1beta1] Signed-off-by: Thomas Kooi <t.j.kooi@avisi.nl>
18 lines
458 B
YAML
18 lines
458 B
YAML
---
|
|
# Snapshot API version compatibility matrix:
|
|
# v1beta1:
|
|
# v1.17 =< k8s < v1.20
|
|
# 2.x =< snapshot-controller < v4.x
|
|
# v1:
|
|
# k8s >= v1.20
|
|
# snapshot-controller >= v4.x
|
|
# We recommend to use {sidecar, controller, crds} of same version
|
|
apiVersion: snapshot.storage.k8s.io/v1
|
|
kind: VolumeSnapshot
|
|
metadata:
|
|
name: cephfs-pvc-snapshot
|
|
spec:
|
|
volumeSnapshotClassName: csi-cephfsplugin-snapclass
|
|
source:
|
|
persistentVolumeClaimName: csi-cephfs-pvc
|