From a4f9981d83d41263544486e7ca99cf5490284dc3 Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Fri, 31 Jan 2020 11:43:10 +0100 Subject: [PATCH] doc: fix CephFS CSI StorageClass name This fixes the StorageClass name example and doc to be `rook-cephfs` instead of just `csi-cephfs`. Closes #4130. Signed-off-by: Alexander Trost --- Documentation/ceph-filesystem.md | 4 ++-- .../examples/kubernetes/ceph/csi/cephfs/kube-registry.yaml | 2 +- cluster/examples/kubernetes/ceph/csi/cephfs/pvc.yaml | 2 +- cluster/examples/kubernetes/ceph/csi/cephfs/storageclass.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/ceph-filesystem.md b/Documentation/ceph-filesystem.md index 896107ea5..dc4ba1017 100644 --- a/Documentation/ceph-filesystem.md +++ b/Documentation/ceph-filesystem.md @@ -87,7 +87,7 @@ Save this storage class definition as `storageclass.yaml`: apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: - name: csi-cephfs + name: rook-cephfs # Change "rook-ceph" provisioner prefix to match the operator namespace if needed provisioner: rook-ceph.cephfs.csi.ceph.com parameters: @@ -153,7 +153,7 @@ spec: resources: requests: storage: 1Gi - storageClassName: csi-cephfs + storageClassName: rook-cephfs --- apiVersion: apps/v1 kind: Deployment diff --git a/cluster/examples/kubernetes/ceph/csi/cephfs/kube-registry.yaml b/cluster/examples/kubernetes/ceph/csi/cephfs/kube-registry.yaml index bcec03a78..308fce3e3 100644 --- a/cluster/examples/kubernetes/ceph/csi/cephfs/kube-registry.yaml +++ b/cluster/examples/kubernetes/ceph/csi/cephfs/kube-registry.yaml @@ -9,7 +9,7 @@ spec: resources: requests: storage: 1Gi - storageClassName: csi-cephfs + storageClassName: rook-cephfs --- apiVersion: apps/v1 kind: Deployment diff --git a/cluster/examples/kubernetes/ceph/csi/cephfs/pvc.yaml b/cluster/examples/kubernetes/ceph/csi/cephfs/pvc.yaml index 07d75f344..a11dc59a7 100644 --- a/cluster/examples/kubernetes/ceph/csi/cephfs/pvc.yaml +++ b/cluster/examples/kubernetes/ceph/csi/cephfs/pvc.yaml @@ -9,4 +9,4 @@ spec: resources: requests: storage: 1Gi - storageClassName: csi-cephfs + storageClassName: rook-cephfs diff --git a/cluster/examples/kubernetes/ceph/csi/cephfs/storageclass.yaml b/cluster/examples/kubernetes/ceph/csi/cephfs/storageclass.yaml index 7b6de0397..ce7fba4ea 100644 --- a/cluster/examples/kubernetes/ceph/csi/cephfs/storageclass.yaml +++ b/cluster/examples/kubernetes/ceph/csi/cephfs/storageclass.yaml @@ -1,7 +1,7 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: - name: csi-cephfs + name: rook-cephfs provisioner: rook-ceph.cephfs.csi.ceph.com parameters: # clusterID is the namespace where operator is deployed.