@@ -435,7 +435,7 @@ func CreateArangodPod(kubecli kubernetes.Interface, developmentMode bool, deploy
435435 args []string , env map [string ]EnvValue , finalizers []string ,
436436 livenessProbe * HTTPProbeConfig , readinessProbe * HTTPProbeConfig , tolerations []v1.Toleration , serviceAccountName string ,
437437 tlsKeyfileSecretName , rocksdbEncryptionSecretName string , clusterJWTSecretName string , nodeSelector map [string ]string ,
438- podPriorityClassName string , podPriority * int32 ) error {
438+ podPriorityClassName string ) error {
439439 // Prepare basic pod
440440 p := newPod (deployment .GetName (), deployment .GetNamespace (), role , id , podName , finalizers , tolerations , serviceAccountName , nodeSelector )
441441 terminationGracePeriodSeconds := int64 (math .Ceil (terminationGracePeriod .Seconds ()))
@@ -470,8 +470,7 @@ func CreateArangodPod(kubecli kubernetes.Interface, developmentMode bool, deploy
470470 }
471471 p .Spec .Containers = append (p .Spec .Containers , c )
472472
473- // Add priority and priorityClassName
474- p .Spec .Priority = podPriority
473+ // Add priorityClassName
475474 p .Spec .PriorityClassName = podPriorityClassName
476475
477476 // Add UUID init container
@@ -559,7 +558,7 @@ func CreateArangodPod(kubecli kubernetes.Interface, developmentMode bool, deploy
559558func CreateArangoSyncPod (kubecli kubernetes.Interface , developmentMode bool , deployment APIObject , role , id , podName , image , lifecycleImage string , imagePullPolicy v1.PullPolicy ,
560559 terminationGracePeriod time.Duration , args []string , env map [string ]EnvValue , livenessProbe * HTTPProbeConfig , tolerations []v1.Toleration , serviceAccountName string ,
561560 tlsKeyfileSecretName , clientAuthCASecretName , masterJWTSecretName , clusterJWTSecretName , affinityWithRole string , nodeSelector map [string ]string ,
562- podPriorityClassName string , podPriority * int32 ) error {
561+ podPriorityClassName string ) error {
563562 // Prepare basic pod
564563 p := newPod (deployment .GetName (), deployment .GetNamespace (), role , id , podName , nil , tolerations , serviceAccountName , nodeSelector )
565564 terminationGracePeriodSeconds := int64 (math .Ceil (terminationGracePeriod .Seconds ()))
@@ -600,8 +599,7 @@ func CreateArangoSyncPod(kubecli kubernetes.Interface, developmentMode bool, dep
600599 }
601600 p .Spec .Containers = append (p .Spec .Containers , c )
602601
603- // Add priority and priorityClassName
604- p .Spec .Priority = podPriority
602+ // Add priorityClassName
605603 p .Spec .PriorityClassName = podPriorityClassName
606604
607605 // TLS keyfile secret mount (if any)
0 commit comments