diff --git a/ceph-client/Chart.yaml b/ceph-client/Chart.yaml index 45d584ec6..d562cbd35 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.13 +version: 0.1.14 home: https://github.com/ceph/ceph-client ... diff --git a/ceph-client/templates/job-rbd-pool.yaml b/ceph-client/templates/job-rbd-pool.yaml index 351ef761d..7d0fce2f9 100644 --- a/ceph-client/templates/job-rbd-pool.yaml +++ b/ceph-client/templates/job-rbd-pool.yaml @@ -35,7 +35,7 @@ spec: spec: {{ dict "envAll" $envAll "application" "rbd_pool" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }} serviceAccountName: {{ $serviceAccountName }} - restartPolicy: OnFailure + restartPolicy: {{ $envAll.Values.jobs.rbd_pool.restartPolicy | quote }} affinity: {{ tuple $envAll "ceph" "rbd-pool" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }} nodeSelector: diff --git a/ceph-client/values.yaml b/ceph-client/values.yaml index 555ed726e..dcb49b3fe 100644 --- a/ceph-client/values.yaml +++ b/ceph-client/values.yaml @@ -251,6 +251,8 @@ jobs: # Skip new job if previous job still active execPolicy: Forbid startingDeadlineSecs: 60 + rbd_pool: + restartPolicy: OnFailure conf: features: diff --git a/releasenotes/notes/ceph-client.yaml b/releasenotes/notes/ceph-client.yaml index aa3e867a8..046a759b8 100644 --- a/releasenotes/notes/ceph-client.yaml +++ b/releasenotes/notes/ceph-client.yaml @@ -14,4 +14,5 @@ ceph-client: - 0.1.11 enhance logic to enable and disable the autoscaler - 0.1.12 Disable autoscaling before pools are created - 0.1.13 Fix ceph-client helm test + - 0.1.14 Allow Ceph RBD pool job to leave failed pods ...