Ceph-Client: update configmap name for defragosds cronjob

This is to update configmap names using by defragosds cronjob.

Change-Id: I29608cd8b6ce1e30615a0f92853939d7bbae9972
This commit is contained in:
Chinasubbareddy Mallavarapu 2019-08-01 10:09:03 -05:00
parent 85b8d62830
commit acd5d11bc2
2 changed files with 3 additions and 8 deletions

View File

@ -92,7 +92,7 @@ spec:
mountPath: /tmp mountPath: /tmp
- name: pod-etc-ceph - name: pod-etc-ceph
mountPath: /etc/ceph mountPath: /etc/ceph
- name: ceph-osd-bin - name: ceph-client-bin
mountPath: /tmp/utils-defragOSDs.sh mountPath: /tmp/utils-defragOSDs.sh
subPath: utils-defragOSDs.sh subPath: utils-defragOSDs.sh
readOnly: true readOnly: true
@ -103,12 +103,8 @@ spec:
emptyDir: {} emptyDir: {}
- name: pod-etc-ceph - name: pod-etc-ceph
emptyDir: {} emptyDir: {}
- name: ceph-osd-bin - name: ceph-client-bin
configMap: configMap:
name: {{ printf "%s-%s" $envAll.Release.Name "bin" | quote }} name: ceph-client-bin
defaultMode: 0555 defaultMode: 0555
- name: ceph-client-etc
configMap:
name: {{ printf "%s-%s" $envAll.Release.Name "etc" | quote }}
defaultMode: 0444
{{- end }} {{- end }}

View File

@ -185,7 +185,6 @@ jobs:
execPolicy: Forbid execPolicy: Forbid
startingDeadlineSecs: 60 startingDeadlineSecs: 60
manifests: manifests:
cronjob_defragosds: true
job_bootstrap: false job_bootstrap: false
EOF EOF