From b79c97ba312f9d326a3e8c40825deb0bddd639f1 Mon Sep 17 00:00:00 2001 From: onichandame Date: Tue, 21 May 2024 03:47:08 +0000 Subject: [PATCH] Allow emptyDir type volume mounts --- ci/helm-chart/templates/deployment.yaml | 5 ++++- ci/helm-chart/values.yaml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/helm-chart/templates/deployment.yaml b/ci/helm-chart/templates/deployment.yaml index f88304fc2346..e1925ee47922 100644 --- a/ci/helm-chart/templates/deployment.yaml +++ b/ci/helm-chart/templates/deployment.yaml @@ -177,9 +177,12 @@ spec: {{- if .existingClaim }} persistentVolumeClaim: claimName: {{ .existingClaim }} - {{- else }} + {{- else if .hostPath }} hostPath: path: {{ .hostPath }} type: Directory + {{- else }} + emptyDir: + {{- toYaml .emptyDir | nindent 10 }} {{- end }} {{- end }} diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index ddfbff079dfd..b4e6816258a4 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -190,6 +190,7 @@ extraVolumeMounts: [] # readOnly: true # existingClaim: volume-claim # hostPath: "" + # emptyDir: {} extraConfigmapMounts: [] # - name: certs-configmap