From 57d9861f8267e3d4db48353da1ae92471c0225b9 Mon Sep 17 00:00:00 2001 From: ricolin Date: Fri, 31 Oct 2025 17:35:27 +0800 Subject: [PATCH] fix: Add missing priority class for cinder_db_purge missing priority class and runtime class definition for cinder_db_purge Signed-off-by: ricolin Change-Id: Ie04ffec77d3dfe4119a66d9c549bbf35ea09ce15 Signed-off-by: ricolin --- cinder/templates/cron-job-cinder-db-purge.yaml | 2 ++ releasenotes/notes/cinder-ddd3bb79dff72ba6.yaml | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/cinder-ddd3bb79dff72ba6.yaml diff --git a/cinder/templates/cron-job-cinder-db-purge.yaml b/cinder/templates/cron-job-cinder-db-purge.yaml index 71f3e0e1a5..4671117fd0 100644 --- a/cinder/templates/cron-job-cinder-db-purge.yaml +++ b/cinder/templates/cron-job-cinder-db-purge.yaml @@ -49,6 +49,8 @@ spec: annotations: {{ dict "envAll" $envAll "podName" $serviceAccountName "containerNames" (list "db-purge" "init") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 12 }} spec: +{{ tuple "cinder_db_purge" . | include "helm-toolkit.snippets.kubernetes_pod_priority_class" | indent 10 }} +{{ tuple "cinder_db_purge" . | include "helm-toolkit.snippets.kubernetes_pod_runtime_class" | indent 10 }} {{ dict "envAll" $envAll "application" "db_purge" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 10 }} serviceAccountName: {{ $serviceAccountName }} restartPolicy: OnFailure diff --git a/releasenotes/notes/cinder-ddd3bb79dff72ba6.yaml b/releasenotes/notes/cinder-ddd3bb79dff72ba6.yaml new file mode 100644 index 0000000000..202339a407 --- /dev/null +++ b/releasenotes/notes/cinder-ddd3bb79dff72ba6.yaml @@ -0,0 +1,5 @@ +--- +cinder: + - | + Add missing priority class and runtime class definition for cinder_db_purge +...