Skip to content

Commit

Permalink
Add api.<domain> for web ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Apr 1, 2024
1 parent 9f37f0e commit 2198b26
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions osm-seed/templates/web/web-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
{{- else }}
- web.{{ .Values.domain }}
{{- end }}
- api.{{ .Values.domain }}
secretName: {{ template "osm-seed.fullname" . }}-tls-secret
rules:
- host: {{ if .Values.web.ingressDomain }}{{ .Values.web.ingressDomain }}{{ else }}web.{{ .Values.domain }}{{ end }}
Expand All @@ -27,4 +28,14 @@ spec:
name: {{ template "osm-seed.fullname" . }}-web
port:
number: 80
- host: api.{{ .Values.domain }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ template "osm-seed.fullname" . }}-web
port:
number: 80
{{- end }}
1 change: 1 addition & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ nominatimApi:
tag: ""
serviceAnnotations: {}
replicaCount: 1
ingressDomain: nominatim-api.dev.osmseed.org
env:
PBF_URL: http://download.geofabrik.de/europe/monaco-latest.osm.pbf
REPLICATION_URL: http://download.geofabrik.de/europe/monaco-updates
Expand Down

0 comments on commit 2198b26

Please sign in to comment.