From eaa43d552a7b8b29d03ee1085cb77df06dc056a2 Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Mon, 21 Dec 2020 12:28:31 -0600
Subject: [PATCH] Enable postgres-based wms_times for mapserver

---
 ci_geosphere/values-mapserver.yaml            | 6 ++++++
 ci_tests/basic_postgres/values-mapserver.yaml | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/ci_geosphere/values-mapserver.yaml b/ci_geosphere/values-mapserver.yaml
index c92d359..333fcea 100644
--- a/ci_geosphere/values-mapserver.yaml
+++ b/ci_geosphere/values-mapserver.yaml
@@ -3,6 +3,12 @@ imageSource:
   existingClaim: "cspp-geo-geo2grid"
 tileSource:
   existingClaim: "geosphere-tile-gen-shapefiles"
+database:
+  postgresHost: "geosphere-postgis-postgresql"
+  postgresPort: 5432
+  postgresDatabaseName: "postgres"
+  postgresUser: "postgres"
+  postgresPasswordSecret: "geosphere-postgis-postgresql"
 ingress:
   enabled: true
   annotations:
diff --git a/ci_tests/basic_postgres/values-mapserver.yaml b/ci_tests/basic_postgres/values-mapserver.yaml
index f24f333..a8be8f2 100644
--- a/ci_tests/basic_postgres/values-mapserver.yaml
+++ b/ci_tests/basic_postgres/values-mapserver.yaml
@@ -3,3 +3,9 @@ imageSource:
   existingClaim: "cspp-geo-geo2grid"
 tileSource:
   existingClaim: "geosphere-tile-gen-shapefiles"
+database:
+  postgresHost: "geosphere-postgis-postgresql"
+  postgresPort: 5432
+  postgresDatabaseName: "postgres"
+  postgresUser: "postgres"
+  postgresPasswordSecret: "geosphere-postgis-postgresql"
-- 
GitLab