From d8f3f6677f9f9922115cb86feda4eab0c1fe1646 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Mon, 10 Jun 2024 18:01:36 -0500 Subject: [PATCH] Add parameter to restore backup file --- osm-seed/templates/web/web-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osm-seed/templates/web/web-deployment.yaml b/osm-seed/templates/web/web-deployment.yaml index 3a7def2c..22f0cf98 100644 --- a/osm-seed/templates/web/web-deployment.yaml +++ b/osm-seed/templates/web/web-deployment.yaml @@ -131,6 +131,10 @@ spec: value: {{ .Values.web.env.API_TIMEOUT | default "30" | quote }} - name: WEB_TIMEOUT value: {{ .Values.web.env.WEB_TIMEOUT | default "30" | quote }} + # This parameter is specifically if you want to restore a any backup to db, + # you done need to set this values.yaml in case you don't use + - name: BACKUP_FILE_URL + value: {{ .Values.web.env.BACKUP_FILE_URL | default "none" | quote }} volumeMounts: - mountPath: /dev/shm name: shared-memory