From f5b79dadfd18bf064afb034de819acd6fc44ac89 Mon Sep 17 00:00:00 2001 From: Lakindu Date: Tue, 29 Oct 2024 00:36:26 +0530 Subject: [PATCH] Fix agents volumes --- helm/h2ogpt-chart/templates/agents-deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/h2ogpt-chart/templates/agents-deployment.yaml b/helm/h2ogpt-chart/templates/agents-deployment.yaml index c9a0eea68..dcdda700a 100644 --- a/helm/h2ogpt-chart/templates/agents-deployment.yaml +++ b/helm/h2ogpt-chart/templates/agents-deployment.yaml @@ -129,7 +129,7 @@ spec: - name: {{ include "h2ogpt.fullname" . }}-agents-volume mountPath: /workspace/.cache subPath: cache - - name: {{ include "h2ogpt.fullname" . }}-volume + - name: {{ include "h2ogpt.fullname" . }}-agents-volume mountPath: /workspace/save subPath: save {{- if .Values.caCertificates }} @@ -144,7 +144,7 @@ spec: - name: {{ include "h2ogpt.fullname" . }}-agents-volume {{- if not .Values.agents.storage.useEphemeral }} persistentVolumeClaim: - claimName: {{ include "h2ogpt.fullname" . }}-volume + claimName: {{ include "h2ogpt.fullname" . }}-agents-volume {{- else}} ephemeral: volumeClaimTemplate: