-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Increase initialDelaySeconds for tiler db deployment * Update env vars for statefulset imposm * Update statefulset for tiler * Add configuration to add external host for tiler db * Add postgres port in configmap * Update configmap name for tiler db * Remove env var from tiler server configmap * Update tiler charts helm to support multi configmap * Disable statefulset when tiler server is using external host * Increase proxy timeout for tiler ingress
- Loading branch information
Showing
14 changed files
with
80 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{{- if .Values.tilerDb.enabled -}} | ||
{{- if .Values.tilerDb.postgresqlConfig.enabled -}} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Release.Name }}-tiler-db-postgresql-config | ||
labels: | ||
app: {{ template "osm-seed.name" . }} | ||
release: {{ .Release.Name }} | ||
name: {{ .Release.Name }}-tiler-db-cm | ||
data: | ||
postgresql.conf: | | ||
{{ .Values.tilerDb.postgresqlConfig.values | indent 4 }} | ||
{{- if not .Values.tilerDb.useExternalHost.enabled }} | ||
POSTGRES_HOST: {{ .Release.Name }}-tiler-db | ||
PGDATA: {{ .Values.tilerDb.persistenceDisk.mountPath }} | ||
{{- else }} | ||
POSTGRES_HOST: {{ .Values.tilerDb.env.POSTGRES_HOST }} | ||
{{- end }} | ||
POSTGRES_DB: {{ .Values.tilerDb.env.POSTGRES_DB }} | ||
POSTGRES_PASSWORD: {{ .Values.tilerDb.env.POSTGRES_PASSWORD | quote }} | ||
POSTGRES_USER: {{ .Values.tilerDb.env.POSTGRES_USER | quote }} | ||
POSTGRES_PORT: {{ .Values.tilerDb.env.POSTGRES_PORT | quote }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
osm-seed/templates/tiler-db/tiler-db-postgresql-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{- if .Values.tilerDb.enabled -}} | ||
{{- if not .Values.tilerDb.useExternalHost.enabled -}} | ||
{{- if .Values.tilerDb.postgresqlConfig.enabled -}} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Release.Name }}-tiler-db-postgresql-config | ||
labels: | ||
app: {{ template "osm-seed.name" . }} | ||
release: {{ .Release.Name }} | ||
data: | ||
postgresql.conf: | | ||
{{ .Values.tilerDb.postgresqlConfig.values | indent 4 }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters