robjuz/helm-charts

nominatim: flatnode question

Closed this issue · 2 comments

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.

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

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:
- name: wait-for-db