| From 1df9feeb330507bc2f988951e2b4813408621cb3 Mon Sep 17 00:00:00 2001 |
| From: Dong Ma <dong.ma@vexxhost.com> |
| Date: Thu, 13 Feb 2025 16:15:52 +0000 |
| Subject: [PATCH] Fix the missing {priority,runtime}ClassName |
| |
| diff --git a/octavia/charts/helm-toolkit/templates/manifests/_job-bootstrap.tpl b/octavia/charts/helm-toolkit/templates/manifests/_job-bootstrap.tpl |
| index 6b77004f..da3c4819 100644 |
| --- a/octavia/charts/helm-toolkit/templates/manifests/_job-bootstrap.tpl |
| +++ b/octavia/charts/helm-toolkit/templates/manifests/_job-bootstrap.tpl |
| @@ -70,6 +70,12 @@ spec: |
| annotations: |
| {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }} |
| spec: |
| +{{- if and $envAll.Values.pod.priorityClassName $envAll.Values.pod.priorityClassName.bootstrap }} |
| + priorityClassName: {{ $envAll.Values.pod.priorityClassName.bootstrap }} |
| +{{- end }} |
| +{{- if and $envAll.Values.pod.runtimeClassName $envAll.Values.pod.runtimeClassName.bootstrap }} |
| + runtimeClassName: {{ $envAll.Values.pod.runtimeClassName.bootstrap }} |
| +{{- end }} |
| serviceAccountName: {{ $serviceAccountName }} |
| restartPolicy: OnFailure |
| {{ tuple $envAll "bootstrap" | include "helm-toolkit.snippets.kubernetes_image_pull_secrets" | indent 6 }} |
| diff --git a/octavia/values.yaml b/octavia/values.yaml |
| index 448c781e..36fcbf0b 100644 |
| --- a/octavia/values.yaml |
| +++ b/octavia/values.yaml |
| @@ -531,12 +531,14 @@ pod: |
| octavia_api: null |
| octavia_housekeeping: null |
| octavia_worker: null |
| + bootstrap: null |
| db_sync: null |
| runtimeClassName: |
| octavia_health_manager: null |
| octavia_api: null |
| octavia_housekeeping: null |
| octavia_worker: null |
| + bootstrap: null |
| db_sync: null |
| user: |
| octavia: |