From 37ddeda7afd416fbc4bcc4a457f4e1f454d3564d Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 23 Jun 2020 15:17:05 +0530 Subject: [PATCH] ceph: remove snapshotter sidecar from provisioner sts ceph-csi will be deployed as statefulset if the kubernetes version is less than 1.14, as snapshotter will work with kube 1.17+, we dont need snapshotter sidecar deployed as part of statefulset. Signed-off-by: Madhu Rajanna --- .../rbd/csi-rbdplugin-provisioner-sts.yaml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml index 11bf4aecf..5b54fcbd8 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml @@ -47,21 +47,6 @@ spec: volumeMounts: - name: socket-dir mountPath: /csi - {{ if .EnableSnapshotter }} - - name: csi-snapshotter - image: {{ .SnapshotterImage }} - args: - - "--csi-address=$(ADDRESS)" - - "--v={{ .LogLevel }}" - - "--timeout=150s" - env: - - name: ADDRESS - value: unix:///csi/csi-provisioner.sock - imagePullPolicy: "IfNotPresent" - volumeMounts: - - name: socket-dir - mountPath: /csi - {{ end }} - name: csi-rbdplugin image: {{ .CSIPluginImage }} args :