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 +...