forked from rook/rook
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 <madhupr007@gmail.com>
This commit is contained in:
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user