deploy: provide variable to alter hostpath location for ceph clients

Also update the documentation about the same.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Prasanna Kumar Kalever 2021-08-19 16:33:39 +05:30 committed by mergify[bot]
parent ea3def0db2
commit 473adf99fc
4 changed files with 5 additions and 2 deletions

View File

@ -138,6 +138,7 @@ charts and their default values.
| `provisionerSocketFile` | The filename of the provisioner socket | `csi-provisioner.sock` |
| `pluginSocketFile` | The filename of the plugin socket | `csi.sock` |
| `kubeletDir` | kubelet working directory | `/var/lib/kubelet` |
| `cephLogDir` | Host path location for ceph client processes logging, ex: rbd-nbd | `/var/log/ceph` |
| `driverName` | Name of the csi-driver | `rbd.csi.ceph.com` |
| `configMapName` | Name of the configmap which contains cluster configuration | `ceph-csi-config` |
| `externallyManagedConfigmap` | Specifies the use of an externally provided configmap | `false` |

View File

@ -173,7 +173,7 @@ spec:
type: DirectoryOrCreate
- name: ceph-logdir
hostPath:
path: /var/log/ceph
path: {{ .Values.cephLogDir }}
type: DirectoryOrCreate
- name: host-dev
hostPath:

View File

@ -42,7 +42,7 @@ spec:
readOnly: true
- pathPrefix: '/lib/modules'
readOnly: true
- pathPrefix: '/var/log/ceph'
- pathPrefix: '{{ .Values.cephLogDir }}'
readOnly: false
- pathPrefix: '{{ .Values.kubeletDir }}'
readOnly: false

View File

@ -382,6 +382,8 @@ provisionerSocketFile: csi-provisioner.sock
pluginSocketFile: csi.sock
# kubelet working directory,can be set using `--root-dir` when starting kubelet.
kubeletDir: /var/lib/kubelet
# Host path location for ceph client processes logging, ex: rbd-nbd
cephLogDir: /var/log/ceph
# Name of the csi-driver
driverName: rbd.csi.ceph.com
# Name of the configmap used for state