diff --git a/ceph-client/Chart.yaml b/ceph-client/Chart.yaml index 5178b7ac1..4989f9491 100644 --- a/ceph-client/Chart.yaml +++ b/ceph-client/Chart.yaml @@ -15,6 +15,6 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Ceph Client name: ceph-client -version: 0.1.51 +version: 0.1.52 home: https://github.com/ceph/ceph-client ... diff --git a/ceph-client/templates/bin/utils/_defragOSDs.sh.tpl b/ceph-client/templates/bin/utils/_defragOSDs.sh.tpl index d796e9a8c..68d094664 100644 --- a/ceph-client/templates/bin/utils/_defragOSDs.sh.tpl +++ b/ceph-client/templates/bin/utils/_defragOSDs.sh.tpl @@ -21,7 +21,7 @@ PODS=$(kubectl get pods --namespace=${NAMESPACE} \ '--output=jsonpath={range .items[*]}{.metadata.name}{"\n"}{end}') for POD in ${PODS}; do - kubectl exec -t ${POD} --namespace=${NAMESPACE} -- \ + kubectl exec -t ${POD} -c ceph-osd-default --namespace=${NAMESPACE} -- \ sh -c -e "/tmp/utils-defragOSDs.sh" done diff --git a/releasenotes/notes/ceph-client.yaml b/releasenotes/notes/ceph-client.yaml index e7cec9d08..27a165f2f 100644 --- a/releasenotes/notes/ceph-client.yaml +++ b/releasenotes/notes/ceph-client.yaml @@ -52,4 +52,5 @@ ceph-client: - 0.1.49 Update Ceph images to Jammy and Reef 18.2.1 - 0.1.50 Update Ceph images to patched 18.2.2 and restore debian-reef repo - 0.1.51 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default + - 0.1.52 Run utils-defragOSDs.sh in ceph-osd-default container ...