Merge pull request #111 from mcronce/v1.0-kube-fixes

v1.0.0 k8s fix
This commit is contained in:
Róbert Vašek 2018-12-18 21:10:02 +01:00 committed by GitHub
commit 07effb9499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,11 +60,14 @@ spec:
volumeMounts: volumeMounts:
- name: plugin-dir - name: plugin-dir
mountPath: /var/lib/kubelet/plugins_registry/csi-cephfsplugin mountPath: /var/lib/kubelet/plugins_registry/csi-cephfsplugin
- name: csi-plugins-dir
mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi
mountPropagation: "Bidirectional"
- name: pods-mount-dir - name: pods-mount-dir
mountPath: /var/lib/kubelet/pods mountPath: /var/lib/kubelet/pods
mountPropagation: "Bidirectional" mountPropagation: "Bidirectional"
- mountPath: /sys - name: host-sys
name: host-sys mountPath: /sys
- name: lib-modules - name: lib-modules
mountPath: /lib/modules mountPath: /lib/modules
readOnly: true readOnly: true
@ -75,6 +78,10 @@ spec:
hostPath: hostPath:
path: /var/lib/kubelet/plugins_registry/csi-cephfsplugin path: /var/lib/kubelet/plugins_registry/csi-cephfsplugin
type: DirectoryOrCreate type: DirectoryOrCreate
- name: csi-plugins-dir
hostPath:
path: /var/lib/kubelet/plugins/kubernetes.io/csi
type: DirectoryOrCreate
- name: registration-dir - name: registration-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins_registry/ path: /var/lib/kubelet/plugins_registry/