This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 465332bb339 Chart: fix VCT for scheduler in local and persistent mode 
(#42946)
465332bb339 is described below

commit 465332bb339f38fe4cbd4e2fb3be149aef80f89a
Author: Aakcht <[email protected]>
AuthorDate: Sat Oct 12 19:23:54 2024 +0500

    Chart: fix VCT for scheduler in local and persistent mode (#42946)
---
 chart/templates/scheduler/scheduler-deployment.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chart/templates/scheduler/scheduler-deployment.yaml 
b/chart/templates/scheduler/scheduler-deployment.yaml
index 634c3a41f7d..551ab94c8c4 100644
--- a/chart/templates/scheduler/scheduler-deployment.yaml
+++ b/chart/templates/scheduler/scheduler-deployment.yaml
@@ -324,7 +324,9 @@ spec:
           emptyDir: {{- toYaml (default (dict) .Values.logs.emptyDirConfig) | 
nindent 12 }}
   {{- else }}
   volumeClaimTemplates:
-    - metadata:
+    - apiVersion: v1
+      kind: PersistentVolumeClaim
+      metadata:
         name: logs
         {{- if .Values.workers.persistence.annotations }}
         annotations: {{- toYaml .Values.workers.persistence.annotations | 
nindent 10 }}

Reply via email to