Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add overpass #73

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ resources:
- ./crashes
- ./traffics
- ./muenster-update
- ./overpass
8 changes: 8 additions & 0 deletions apps/overpass/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: overpass

resources:
- ../../base/namespace-pss-restricted
- overpass.yaml
67 changes: 67 additions & 0 deletions apps/overpass/overpass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: remikalbe-overpass-api
spec:
interval: 320m
url: https://remikalbe.github.io/overpass-api-helm-chart

---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: overpass-api
spec:
chart:
spec:
chart: overpass-api
interval: 90m0s
sourceRef:
kind: HelmRepository
name: remikalbe-overpass-api
version: 0.3.4
interval: 30m0s
releaseName: overpass-api
targetNamespace: overpass
# https://github.com/RemiKalbe/overpass-api-helm-chart/blob/overpass-api-0.3.4/charts/overpass-api-chart/values.yaml
values:
overpassMeta: "no"
updateJob:
schedule: "15 12 1 1 1"
planetUrl: "https://download.geofabrik.de/europe/germany/nordrhein-westfalen/muenster-regbez-latest.osm.bz2"
diffUrl: "https://planet.openstreetmap.org/replication/hour/"
updateFrequency: "hour"
rulesLoad: 1
apiService:
replicaCount: 1
persistence:
enabled: true
accessMode: ReadWriteMany
size: 10Gi
storageClass: "hcloud-volumes"
annotations: {}
resources:
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 500m
memory: 1Gi

#
# Ingress Configuration
#
ingress:
enabled: true
className: "traefik"
annotations:
cert-manager.io/cluster-issuer: letsencrypt-c4m
hosts:
- host: overpass-ms.codeformuenster.org
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- overpass-ms.codeformuenster.org
secretName: overpass-api-tls