From 1f33c01c261ff5aeeb00908d129759467e2f6f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barne=20J=C3=BCrgensen?= Date: Mon, 19 Feb 2024 21:54:55 +0100 Subject: [PATCH] add pvc --- .../templates/deployment-meilisearch.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/chart/brahmsee-digital/templates/deployment-meilisearch.yaml b/chart/brahmsee-digital/templates/deployment-meilisearch.yaml index c64e31d3..b27e016d 100644 --- a/chart/brahmsee-digital/templates/deployment-meilisearch.yaml +++ b/chart/brahmsee-digital/templates/deployment-meilisearch.yaml @@ -1,3 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ .Chart.Name }}-meilisearch-data +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -34,7 +45,8 @@ spec: mountPath: "/data" volumes: - name: meilisearch-storage - emptyDir: {} + persistentVolumeClaim: + claimName: {{ .Chart.Name }}-postgres-data --- apiVersion: v1 kind: Service