From 9e26d38b524625d7506935718abdcbafe2f9bd84 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Sat, 7 Dec 2024 07:37:54 -0500 Subject: [PATCH] Disable statefulset when tiler server is using external host --- osm-seed/templates/tiler-db/tiler-db-statefulset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osm-seed/templates/tiler-db/tiler-db-statefulset.yaml b/osm-seed/templates/tiler-db/tiler-db-statefulset.yaml index c7113954..e9ceb720 100644 --- a/osm-seed/templates/tiler-db/tiler-db-statefulset.yaml +++ b/osm-seed/templates/tiler-db/tiler-db-statefulset.yaml @@ -1,4 +1,5 @@ {{- if .Values.tilerDb.enabled -}} +{{- if not .Values.tilerDb.useExternalHost.enabled -}} apiVersion: apps/v1 kind: StatefulSet metadata: @@ -101,3 +102,4 @@ spec: {{ .Values.tilerDb.nodeSelector.label_key }} : {{ .Values.tilerDb.nodeSelector.label_value }} {{- end }} {{- end }} +{{- end }}