From 378b2e571c04e8d0447a2fe6cf72c39573595278 Mon Sep 17 00:00:00 2001 From: Steve Leon Date: Thu, 9 Nov 2017 14:17:02 -0800 Subject: [PATCH] Updatingkube-registry example to use flexvolume --- cluster/examples/kubernetes/kube-registry.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cluster/examples/kubernetes/kube-registry.yaml b/cluster/examples/kubernetes/kube-registry.yaml index e13624ea0..193b62a7d 100644 --- a/cluster/examples/kubernetes/kube-registry.yaml +++ b/cluster/examples/kubernetes/kube-registry.yaml @@ -40,9 +40,11 @@ spec: protocol: TCP volumes: - name: image-store - cephfs: - monitors: - - INSERT_MONS_HERE - user: admin - secretRef: - name: rook-admin + flexVolume: + driver: rook.io/rook + fsType: ceph + options: + fsName: myfs # name of the filesystem specified in the filesystem CRD. + clusterName: rook # namespace where the Rook cluster is deployed + # by default the path is /, but you can override and mount a specific path of the filesystem by using the path attribute + # path: /some/path/inside/cephfs