diff --git a/images/tiler-imposm/start.sh b/images/tiler-imposm/start.sh index c4ca561f..bb6831f6 100755 --- a/images/tiler-imposm/start.sh +++ b/images/tiler-imposm/start.sh @@ -108,7 +108,7 @@ function uploadExpiredFiles() { function updateData() { ### Update the DB with the new data form minute replication if [ "$OVERWRITE_STATE" = "true" ]; then - rm $DIFF_DIR/last.state.txt + rm -f $DIFF_DIR/last.state.txt fi # Check if last.state.txt exists diff --git a/values.production.template.yaml b/values.production.template.yaml index 6c7ee916..75cc4e83 100644 --- a/values.production.template.yaml +++ b/values.production.template.yaml @@ -458,7 +458,7 @@ osm-seed: TILER_IMPORT_PBF_URL: https://s3.amazonaws.com/planet.openhistoricalmap.org/planet/planet-241210_0000.osm.pbf REPLICATION_URL: http://s3.amazonaws.com/planet.openhistoricalmap.org/replication/minute/ SEQUENCE_NUMBER: "1673798" - OVERWRITE_STATE: true + OVERWRITE_STATE: false UPLOAD_EXPIRED_FILES: true IMPORT_NATURAL_EARTH: true IMPORT_OSM_LAND: true @@ -925,7 +925,7 @@ ohm: enabled: true tilerCachePurge: - enabled: false + enabled: true env: REGION_NAME: us-east-1 NAMESPACE: default # Namespace to run the job @@ -960,7 +960,7 @@ ohm: # Tiler seed by default is giong to seet tiles from 0-6 zoom level tilerCacheSeed: - enabled: false + enabled: true schedule: '0 */6 * * *' env: GEOJSON_URL: https://osmseed-dev.s3.us-east-1.amazonaws.com/tiler/wold-usa-eu.geojson diff --git a/values.staging.template.yaml b/values.staging.template.yaml index cc0b6c71..5df6bee7 100644 --- a/values.staging.template.yaml +++ b/values.staging.template.yaml @@ -480,7 +480,7 @@ osm-seed: # ==================================================================================================== tilerImposm: - enabled: true + enabled: false env: TILER_IMPORT_FROM: osm TILER_IMPORT_PBF_URL: https://s3.amazonaws.com/planet.openhistoricalmap.org/planet/planet-241210_0000.osm.pbf