File csi-template-paths.patch of Package rook
From d48b3a9ee97c89c2b1f550af0ec91b5dac391193 Mon Sep 17 00:00:00 2001 From: Kristoffer Gronlund <kgronlund@suse.com> Date: Tue, 5 Nov 2019 16:49:49 +0000 Subject: [PATCH] Update template paths --- pkg/operator/ceph/csi/spec.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/operator/ceph/csi/spec.go b/pkg/operator/ceph/csi/spec.go index 09f5e16c..d08ea948 100644 --- a/pkg/operator/ceph/csi/spec.go +++ b/pkg/operator/ceph/csi/spec.go @@ -102,15 +102,15 @@ const ( DefaultKubeletDirPath = "/var/lib/kubelet" // template - DefaultRBDPluginTemplatePath = "/etc/ceph-csi/rbd/csi-rbdplugin.yaml" - DefaultRBDProvisionerSTSTemplatePath = "/etc/ceph-csi/rbd/csi-rbdplugin-provisioner-sts.yaml" - DefaultRBDProvisionerDepTemplatePath = "/etc/ceph-csi/rbd/csi-rbdplugin-provisioner-dep.yaml" - DefaultRBDPluginServiceTemplatePath = "/etc/ceph-csi/rbd/csi-rbdplugin-svc.yaml" - - DefaultCephFSPluginTemplatePath = "/etc/ceph-csi/cephfs/csi-cephfsplugin.yaml" - DefaultCephFSProvisionerSTSTemplatePath = "/etc/ceph-csi/cephfs/csi-cephfsplugin-provisioner-sts.yaml" - DefaultCephFSProvisionerDepTemplatePath = "/etc/ceph-csi/cephfs/csi-cephfsplugin-provisioner-dep.yaml" - DefaultCephFSPluginServiceTemplatePath = "/etc/ceph-csi/cephfs/csi-cephfsplugin-svc.yaml" + DefaultRBDPluginTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/rbd/csi-rbdplugin.yaml" + DefaultRBDProvisionerSTSTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml" + DefaultRBDProvisionerDepTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml" + DefaultRBDPluginServiceTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/rbd/csi-rbdplugin-svc.yaml" + + DefaultCephFSPluginTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/cephfs/csi-cephfsplugin.yaml" + DefaultCephFSProvisionerSTSTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-sts.yaml" + DefaultCephFSProvisionerDepTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml" + DefaultCephFSPluginServiceTemplatePath = "/usr/share/k8s-yaml/rook/ceph/csi/template/cephfs/csi-cephfsplugin-svc.yaml" // grpc metrics and liveness port for cephfs and rbd DefaultCephFSGRPCMerticsPort uint16 = 9091 -- 2.16.4