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:
- Manually create a PVC
- Upload you pbf file as
data.osm.pbf
- set
datapvc.enabled: true
anddatapvc.existingClaim: your-pvc-name
- 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