[Neutron][Ovn]Use correct way to define ClassName
Correct yaml for define priorityClassName and runtimeClassName in `cron-job-ovn-db-sync.yaml` Change-Id: If0e2de976c179d07ace5111ab925fd9663ec826c Signed-off-by: ricolin <rlin@vexxhost.com>
This commit is contained in:

committed by
Vladimir Kozhukalov

parent
85569c271a
commit
5c7b8ae69e
@@ -50,12 +50,8 @@ spec:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 12 }}
|
||||
{{ dict "envAll" $envAll "podName" "neutron-ovn-db-sync" "containerNames" (list "init" "neutron-ovn-db-sync" ) | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
{{ with .Values.pod.priorityClassName.neutron_ovn_db_sync }}
|
||||
priorityClassName: {{ . }}
|
||||
{{ end }}
|
||||
{{ with .Values.pod.runtimeClassName.neutron_ovn_db_sync }}
|
||||
runtimeClassName: {{ . }}
|
||||
{{ end }}
|
||||
{{ tuple "neutron_ovn_db_sync" . | include "helm-toolkit.snippets.kubernetes_pod_priority_class" | indent 6 }}
|
||||
{{ tuple "neutron_ovn_db_sync" . | include "helm-toolkit.snippets.kubernetes_pod_runtime_class" | indent 6 }}
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
{{ if $envAll.Values.pod.tolerations.neutron.enabled }}
|
||||
|
6
releasenotes/notes/neutron-9dbb4250fd893743.yaml
Normal file
6
releasenotes/notes/neutron-9dbb4250fd893743.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
neutron:
|
||||
- |
|
||||
Fix ovn sync db cron job to use helm-toolkit snippets when
|
||||
specifying runtime and priority classes.
|
||||
...
|
Reference in New Issue
Block a user