diff --git a/charts/nominatim/Chart.yaml b/charts/nominatim/Chart.yaml index 97fd3a7..5679109 100644 --- a/charts/nominatim/Chart.yaml +++ b/charts/nominatim/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nominatim description: Helm chart for Nominatim type: application -version: 0.0.1 +version: 0.0.2 appVersion: "3.4" keywords: - maps diff --git a/charts/nominatim/templates/deployment.yaml b/charts/nominatim/templates/deployment.yaml index 72cc797..51db5eb 100644 --- a/charts/nominatim/templates/deployment.yaml +++ b/charts/nominatim/templates/deployment.yaml @@ -42,7 +42,8 @@ spec: apt install wget && cd /data && wget http://download.geofabrik.de/europe/romania-latest.osm.pbf && - /bin/bash /app/init.sh /data/romania-latest.osm.pbf postgresdata 3 + /bin/bash /app/init.sh /data/romania-latest.osm.pbf pgdata 3 && + mv /data/pgdata/* /data/ {{- else }} - /bin/bash - /app/start.sh