Skip to content

Commit

Permalink
Update env var for overpass
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jun 17, 2024
1 parent 36df970 commit 8e5b0ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osm-seed/templates/overpass-api/overpass-api-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
value: {{ .Values.overpassApi.env.OVERPASS_PLANET_PREPROCESS | quote}}
- name: OVERPASS_REPLICATION_SEQUENCE_NUMBER
value: {{ .Values.overpassApi.env.OVERPASS_REPLICATION_SEQUENCE_NUMBER | quote }}
- name: OVERPASS_ALLOW_DUPLICATE_QUERIES
value: {{ .Values.overpassApi.env.OVERPASS_ALLOW_DUPLICATE_QUERIES | quote }}
volumeMounts:
- mountPath: /db
name: overpass-api-storage
Expand Down
1 change: 1 addition & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ overpassApi:
OVERPASS_RULES_LOAD: 10
OVERPASS_PLANET_PREPROCESS: 'mv /db/planet.osm.bz2 /db/planet.osm.pbf && osmium cat -o /db/planet.osm.bz2 /db/planet.osm.pbf && rm /db/planet.osm.pbf'
OVERPASS_REPLICATION_SEQUENCE_NUMBER: 5201000
OVERPASS_ALLOW_DUPLICATE_QUERIES: "yes"
persistenceDisk:
enabled: false
accessMode: ReadWriteOnce
Expand Down

0 comments on commit 8e5b0ec

Please sign in to comment.