robjuz / helm-charts

https://robjuz.github.io/helm-charts/index.yaml
34 stars 30 forks source link

nominatim: flatnode question #50

Closed ashley-mort closed 1 year ago

ashley-mort commented 1 year ago

Is there a way (example) that I can use flatnode containing a .pbf file and not use the pbfUrl property during initialization?

We're deployed on a network without internet and I'm having to run a webserver just to serve a .pbf during initial loading. Sorry for the basic question but I am pretty new to these nominatim helm-charts and helm in general.

robjuz commented 1 year ago

Hallo @ashley-mort, with the latest update you are able to do the following:

  1. Manually create a PVC
  2. Upload you pbf file as data.osm.pbf
  3. set datapvc.enabled: true and datapvc.existingClaim: your-pvc-name
  4. start the import
ashley-mort commented 1 year ago

We also had to add the imagePullSecrets section to initJob.yaml. Seems like it's needed there rather than in deployment.yaml.

spec: template: spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} securityContext: fsGroup: 2000 initContainers: