deploy: update templates for ceph.conf

updated cephfs and rbd templates to mount
the ceph.conf configmap.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-08-26 10:58:02 +05:30 committed by mergify[bot]
parent 43925477a5
commit cc6c51395e
4 changed files with 22 additions and 0 deletions

View File

@ -143,6 +143,8 @@ spec:
readOnly: true readOnly: true
- name: host-dev - name: host-dev
mountPath: /dev mountPath: /dev
- name: ceph-config
mountPath: /etc/ceph/
- name: ceph-csi-config - name: ceph-csi-config
mountPath: /etc/ceph-csi-config/ mountPath: /etc/ceph-csi-config/
- name: keys-tmp-dir - name: keys-tmp-dir
@ -181,6 +183,9 @@ spec:
- name: host-dev - name: host-dev
hostPath: hostPath:
path: /dev path: /dev
- name: ceph-config
configMap:
name: ceph-config
- name: ceph-csi-config - name: ceph-csi-config
configMap: configMap:
name: ceph-csi-config name: ceph-csi-config

View File

@ -94,6 +94,8 @@ spec:
mountPath: /dev mountPath: /dev
- name: host-mount - name: host-mount
mountPath: /run/mount mountPath: /run/mount
- name: ceph-config
mountPath: /etc/ceph/
- name: ceph-csi-config - name: ceph-csi-config
mountPath: /etc/ceph-csi-config/ mountPath: /etc/ceph-csi-config/
- name: keys-tmp-dir - name: keys-tmp-dir
@ -152,6 +154,9 @@ spec:
- name: host-mount - name: host-mount
hostPath: hostPath:
path: /run/mount path: /run/mount
- name: ceph-config
configMap:
name: ceph-config
- name: ceph-csi-config - name: ceph-csi-config
configMap: configMap:
name: ceph-csi-config name: ceph-csi-config

View File

@ -164,6 +164,8 @@ spec:
mountPath: /etc/ceph-csi-encryption-kms-config/ mountPath: /etc/ceph-csi-encryption-kms-config/
- name: keys-tmp-dir - name: keys-tmp-dir
mountPath: /tmp/csi/keys mountPath: /tmp/csi/keys
- name: ceph-config
mountPath: /etc/ceph/
- name: csi-rbdplugin-controller - name: csi-rbdplugin-controller
securityContext: securityContext:
privileged: true privileged: true
@ -187,6 +189,8 @@ spec:
mountPath: /etc/ceph-csi-config/ mountPath: /etc/ceph-csi-config/
- name: keys-tmp-dir - name: keys-tmp-dir
mountPath: /tmp/csi/keys mountPath: /tmp/csi/keys
- name: ceph-config
mountPath: /etc/ceph/
- name: liveness-prometheus - name: liveness-prometheus
image: quay.io/cephcsi/cephcsi:canary image: quay.io/cephcsi/cephcsi:canary
args: args:
@ -221,6 +225,9 @@ spec:
emptyDir: { emptyDir: {
medium: "Memory" medium: "Memory"
} }
- name: ceph-config
configMap:
name: ceph-config
- name: ceph-csi-config - name: ceph-csi-config
configMap: configMap:
name: ceph-csi-config name: ceph-csi-config

View File

@ -113,6 +113,8 @@ spec:
mountPath: /tmp/csi/keys mountPath: /tmp/csi/keys
- name: ceph-logdir - name: ceph-logdir
mountPath: /var/log/ceph mountPath: /var/log/ceph
- name: ceph-config
mountPath: /etc/ceph/
- name: liveness-prometheus - name: liveness-prometheus
securityContext: securityContext:
privileged: true privileged: true
@ -171,6 +173,9 @@ spec:
- name: lib-modules - name: lib-modules
hostPath: hostPath:
path: /lib/modules path: /lib/modules
- name: ceph-config
configMap:
name: ceph-config
- name: ceph-csi-config - name: ceph-csi-config
configMap: configMap:
name: ceph-csi-config name: ceph-csi-config