Skip to content

Commit

Permalink
regenerate configs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Oct 16, 2023
1 parent 5cb4148 commit a770028
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 42 deletions.
41 changes: 28 additions & 13 deletions k8s/configs/planet-dev/deployment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ kind: ConfigMap
metadata:
name: deployment-config
data:
area: maps-earth-planet-v1.28
area: maps-earth-planet-v1.30
public-url: https://maps.earth
bbox: ""
enable-transit-routing: "1"
natural-earth-source-url: https://data.example.com/0.6.0/natural_earth.mbtiles
mbtiles-source-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.mbtiles
valhalla-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.valhalla.tar.zst
placeholder-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.placeholder.tar.zst
elasticsearch-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.elasticsearch.tar.zst
mbtiles-source-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.mbtiles
valhalla-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.valhalla.tar.zst
placeholder-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.placeholder.tar.zst
elasticsearch-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.elasticsearch.tar.zst
pelias-config-json: |
{
"logger": {
Expand All @@ -21,7 +21,9 @@ data:
"esclient": {
"apiVersion": "7.5",
"hosts": [
{ "host": "pelias-elasticsearch" }
{
"host": "pelias-elasticsearch"
}
]
},
"elasticsearch": {
Expand All @@ -35,9 +37,15 @@ data:
},
"api": {
"services": {
"placeholder": { "url": "http://pelias-placeholder:4100" },
"libpostal": { "url": "http://pelias-libpostal:4400" },
"pip": { "url": "http://pelias-pip:4400" }
"placeholder": {
"url": "http://pelias-placeholder:4100"
},
"libpostal": {
"url": "http://pelias-libpostal:4400"
},
"pip": {
"url": "http://pelias-pip:4400"
}
}
},
"imports": {
Expand All @@ -47,17 +55,24 @@ data:
"openstreetmap": {
"leveldbpath": "/tmp",
"datapath": "/data/openstreetmap",
"import": [{
"filename": "data.osm.pbf"
}]
"import": [
{
"filename": "data.osm.pbf"
}
]
},
"openaddresses": {
"datapath": "/data/openaddresses"
},
"whosonfirst": {
"datapath": "/data/whosonfirst",
"importPostalcodes": true
},
"polyline": {
"datapath": "/data/polylines",
"files": [ "extract.0sv" ]
"files": [
"extract.0sv"
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: ConfigMap
metadata:
name: otp-barcelona-config
data:
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/Barcelona.graph.obj.zst
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/Barcelona.graph.obj.zst
router-config-json: ""

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: ConfigMap
metadata:
name: otp-losangeles-config
data:
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/LosAngeles.graph.obj.zst
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/LosAngeles.graph.obj.zst
router-config-json: ""

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ConfigMap
metadata:
name: otp-pugetsound-config
data:
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/PugetSound.graph.obj.zst
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/PugetSound.graph.obj.zst
router-config-json: |
{
"configVersion": "2023-05-24",
Expand Down
41 changes: 28 additions & 13 deletions k8s/configs/planet/deployment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ kind: ConfigMap
metadata:
name: deployment-config
data:
area: maps-earth-planet-v1.28
area: maps-earth-planet-v1.30
public-url: https://maps.earth
bbox: ""
enable-transit-routing: "1"
natural-earth-source-url: https://data.example.com/0.6.0/natural_earth.mbtiles
mbtiles-source-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.mbtiles
valhalla-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.valhalla.tar.zst
placeholder-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.placeholder.tar.zst
elasticsearch-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/maps-earth-planet-v1.28.elasticsearch.tar.zst
mbtiles-source-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.mbtiles
valhalla-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.valhalla.tar.zst
placeholder-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.placeholder.tar.zst
elasticsearch-artifact-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/maps-earth-planet-v1.30.elasticsearch.tar.zst
pelias-config-json: |
{
"logger": {
Expand All @@ -21,7 +21,9 @@ data:
"esclient": {
"apiVersion": "7.5",
"hosts": [
{ "host": "pelias-elasticsearch" }
{
"host": "pelias-elasticsearch"
}
]
},
"elasticsearch": {
Expand All @@ -35,9 +37,15 @@ data:
},
"api": {
"services": {
"placeholder": { "url": "http://pelias-placeholder:4100" },
"libpostal": { "url": "http://pelias-libpostal:4400" },
"pip": { "url": "http://pelias-pip:4400" }
"placeholder": {
"url": "http://pelias-placeholder:4100"
},
"libpostal": {
"url": "http://pelias-libpostal:4400"
},
"pip": {
"url": "http://pelias-pip:4400"
}
}
},
"imports": {
Expand All @@ -47,17 +55,24 @@ data:
"openstreetmap": {
"leveldbpath": "/tmp",
"datapath": "/data/openstreetmap",
"import": [{
"filename": "data.osm.pbf"
}]
"import": [
{
"filename": "data.osm.pbf"
}
]
},
"openaddresses": {
"datapath": "/data/openaddresses"
},
"whosonfirst": {
"datapath": "/data/whosonfirst",
"importPostalcodes": true
},
"polyline": {
"datapath": "/data/polylines",
"files": [ "extract.0sv" ]
"files": [
"extract.0sv"
]
}
}
}
2 changes: 1 addition & 1 deletion k8s/configs/planet/opentripplanner-barcelona-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: ConfigMap
metadata:
name: otp-barcelona-config
data:
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/Barcelona.graph.obj.zst
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/Barcelona.graph.obj.zst
router-config-json: ""

2 changes: 1 addition & 1 deletion k8s/configs/planet/opentripplanner-losangeles-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: ConfigMap
metadata:
name: otp-losangeles-config
data:
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/LosAngeles.graph.obj.zst
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/LosAngeles.graph.obj.zst
router-config-json: ""

2 changes: 1 addition & 1 deletion k8s/configs/planet/opentripplanner-pugetsound-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ConfigMap
metadata:
name: otp-pugetsound-config
data:
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.28/PugetSound.graph.obj.zst
graph-url: https://data.example.com/0.6.0/maps-earth-planet-v1.30/PugetSound.graph.obj.zst
router-config-json: |
{
"configVersion": "2023-05-24",
Expand Down
40 changes: 30 additions & 10 deletions k8s/configs/seattle-dev/deployment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ data:
"esclient": {
"apiVersion": "7.5",
"hosts": [
{ "host": "pelias-elasticsearch" }
{
"host": "pelias-elasticsearch"
}
]
},
"elasticsearch": {
Expand All @@ -35,9 +37,15 @@ data:
},
"api": {
"services": {
"placeholder": { "url": "http://pelias-placeholder:4100" },
"libpostal": { "url": "http://pelias-libpostal:4400" },
"pip": { "url": "http://pelias-pip:4400" }
"placeholder": {
"url": "http://pelias-placeholder:4100"
},
"libpostal": {
"url": "http://pelias-libpostal:4400"
},
"pip": {
"url": "http://pelias-pip:4400"
}
}
},
"imports": {
Expand All @@ -47,18 +55,30 @@ data:
"openstreetmap": {
"leveldbpath": "/tmp",
"datapath": "/data/openstreetmap",
"import": [{
"filename": "data.osm.pbf"
}]
"import": [
{
"filename": "data.osm.pbf"
}
]
},
"whosonfirst": {
"datapath": "/data/whosonfirst",
"countryCode": ["US"],
"importPostalcodes": true
"importPostalcodes": true,
"countryCode": [
"US"
]
},
"polyline": {
"datapath": "/data/polylines",
"files": [ "extract.0sv" ]
"files": [
"extract.0sv"
]
},
"openaddresses": {
"datapath": "/data/openaddresses",
"files": [
"us/wa/king.csv"
]
}
}
}

0 comments on commit a770028

Please sign in to comment.