From d09d878759c4e52593b42b11bc95717db853e634 Mon Sep 17 00:00:00 2001 From: Peter Tsrunchev Date: Wed, 6 Nov 2024 15:06:16 +0000 Subject: [PATCH] feat: template mongo storage size and increase default --- templates/mongodb.yaml | 2 +- values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/mongodb.yaml b/templates/mongodb.yaml index a75a15b..d812135 100644 --- a/templates/mongodb.yaml +++ b/templates/mongodb.yaml @@ -46,7 +46,7 @@ spec: accessModes: ["ReadWriteOnce"] resources: requests: - storage: 1Gi + storage: {{ .Values.deployment.mongodb.storage }} --- apiVersion: v1 diff --git a/values.yaml b/values.yaml index b802e01..0bcd283 100644 --- a/values.yaml +++ b/values.yaml @@ -202,6 +202,7 @@ deployment: host: mongodb port: 27017 replicas: 1 + storage: 10Gi rabbitmq: host: rabbitmq