From 370bddd88bdb15746f27abd6d77a1040eb2c4082 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Fri, 29 Nov 2024 08:17:40 -0500 Subject: [PATCH] Add default values for EXECUTE_REINDEX and EXECUTE_VACUUM_ANALYZE --- osm-seed/templates/tiler-server/tiler-server-configMap.yaml | 4 ++-- osm-seed/values.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/osm-seed/templates/tiler-server/tiler-server-configMap.yaml b/osm-seed/templates/tiler-server/tiler-server-configMap.yaml index 9427bd30..06c858a7 100644 --- a/osm-seed/templates/tiler-server/tiler-server-configMap.yaml +++ b/osm-seed/templates/tiler-server/tiler-server-configMap.yaml @@ -17,8 +17,8 @@ data: TILER_CACHE_AWS_ACCESS_KEY_ID: {{ .Values.tilerServer.env.TILER_CACHE_AWS_ACCESS_KEY_ID | quote }} TILER_CACHE_AWS_SECRET_ACCESS_KEY: {{ .Values.tilerServer.env.TILER_CACHE_AWS_SECRET_ACCESS_KEY | quote }} TILER_CACHE_MAX_ZOOM: {{ .Values.tilerServer.env.TILER_CACHE_MAX_ZOOM | quote }} - EXECUTE_REINDEX: {{ .Values.tilerServer.env.EXECUTE_REINDEX | quote }} - EXECUTE_VACUUM_ANALYZE: {{ .Values.tilerServer.env.EXECUTE_VACUUM_ANALYZE | quote }} + EXECUTE_REINDEX: {{ .Values.tilerServer.env.EXECUTE_REINDEX | default "false" | quote }} + EXECUTE_VACUUM_ANALYZE: {{ .Values.tilerServer.env.EXECUTE_VACUUM_ANALYZE | default "false" | quote }} CLOUDPROVIDER: {{ .Values.cloudProvider | quote }} {{- if eq .Values.cloudProvider "aws" }} AWS_S3_BUCKET: {{ .Values.AWS_S3_BUCKET | quote }} diff --git a/osm-seed/values.yaml b/osm-seed/values.yaml index 02bdf834..b32db40c 100644 --- a/osm-seed/values.yaml +++ b/osm-seed/values.yaml @@ -471,6 +471,8 @@ tilerServer: TILER_CACHE_REGION: us-east-1 TILER_CACHE_AWS_ACCESS_KEY_ID: xyz TILER_CACHE_AWS_SECRET_ACCESS_KEY: xyz/q + EXECUTE_REINDEX: false + EXECUTE_VACUUM_ANALYZE: false command: "./start.sh" # ./start.sh & ./tile_cache_downloader.sh & ./expire-watcher.sh # In case you use TILER_CACHE_TYPE: file with persistenceDisk persistenceDisk: