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:
parent
85b8d62830
commit
acd5d11bc2
@ -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 }}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user