Skip to content

Commit d6c2005

Browse files
Add overpass (#73)
1 parent 6345d66 commit d6c2005

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

apps/kustomization.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ resources:
55
- ./crashes
66
- ./traffics
77
- ./muenster-update
8+
- ./overpass

apps/overpass/kustomization.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
namespace: overpass
5+
6+
resources:
7+
- ../../base/namespace-pss-restricted
8+
- overpass.yaml

apps/overpass/overpass.yaml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1
2+
kind: HelmRepository
3+
metadata:
4+
name: remikalbe-overpass-api
5+
spec:
6+
interval: 320m
7+
url: https://remikalbe.github.io/overpass-api-helm-chart
8+
9+
---
10+
apiVersion: helm.toolkit.fluxcd.io/v2
11+
kind: HelmRelease
12+
metadata:
13+
name: overpass-api
14+
spec:
15+
chart:
16+
spec:
17+
chart: overpass-api
18+
interval: 90m0s
19+
sourceRef:
20+
kind: HelmRepository
21+
name: remikalbe-overpass-api
22+
version: 0.3.4
23+
interval: 30m0s
24+
releaseName: overpass-api
25+
targetNamespace: overpass
26+
# https://github.com/RemiKalbe/overpass-api-helm-chart/blob/overpass-api-0.3.4/charts/overpass-api-chart/values.yaml
27+
values:
28+
overpassMeta: "no"
29+
updateJob:
30+
schedule: "15 12 1 1 1"
31+
planetUrl: "https://download.geofabrik.de/europe/germany/nordrhein-westfalen/muenster-regbez-latest.osm.bz2"
32+
diffUrl: "https://planet.openstreetmap.org/replication/hour/"
33+
updateFrequency: "hour"
34+
rulesLoad: 1
35+
apiService:
36+
replicaCount: 1
37+
persistence:
38+
enabled: true
39+
accessMode: ReadWriteMany
40+
size: 10Gi
41+
storageClass: "hcloud-volumes"
42+
annotations: {}
43+
resources:
44+
limits:
45+
cpu: 1
46+
memory: 2Gi
47+
requests:
48+
cpu: 500m
49+
memory: 1Gi
50+
51+
#
52+
# Ingress Configuration
53+
#
54+
ingress:
55+
enabled: true
56+
className: "traefik"
57+
annotations:
58+
cert-manager.io/cluster-issuer: letsencrypt-c4m
59+
hosts:
60+
- host: overpass-ms.codeformuenster.org
61+
paths:
62+
- path: /
63+
pathType: ImplementationSpecific
64+
tls:
65+
- hosts:
66+
- overpass-ms.codeformuenster.org
67+
secretName: overpass-api-tls

0 commit comments

Comments
 (0)