From 1ac663106ea83307f11c0b879c3bddd9bc2612e4 Mon Sep 17 00:00:00 2001 From: gert-glassee Date: Tue, 26 Nov 2024 10:19:26 +0100 Subject: [PATCH] [XENOPS-1229] remove shared-file-store pvc --- .../templates/storage/shared-file-store-volumes.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xenit-alfresco/templates/storage/shared-file-store-volumes.yaml b/xenit-alfresco/templates/storage/shared-file-store-volumes.yaml index 6bfa55d..1b74f4b 100644 --- a/xenit-alfresco/templates/storage/shared-file-store-volumes.yaml +++ b/xenit-alfresco/templates/storage/shared-file-store-volumes.yaml @@ -1,10 +1,12 @@ {{- $namespace := .Release.Namespace -}} +{{- if .Values.enterprise }} {{- with .Values.persistentStorage.sharedFileStore }} -{{- if and .enabled .Values.enterprise }} +{{- if .enabled }} {{- $name := "shared-file-store" -}} {{- $storageClassName := .storageClassName -}} {{- $storage := .storage -}} {{- $efsVolumeHandle := .efs.volumeHandle -}} {{- include "hepers.volumeHelper" (list $namespace $name $storageClassName $storage $efsVolumeHandle) }} {{- end }} +{{- end }} {{- end }} \ No newline at end of file