diff --git a/Makefile b/Makefile index c0560ba5..1d3dbe08 100755 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Variables HELM_REPO_URL=https://devseed.com/eoapi-k8s/ HELM_CHART_NAME=eoapi/eoapi -PGO_CHART_VERSION=5.7.0 +PGO_CHART_VERSION=5.7.4 .PHONY: all deploy minikube ingest help diff --git a/helm-chart/eoapi/initdb-data/pgstac-setup.py b/helm-chart/eoapi/initdb-data/pgstac-setup.py index e1d6cbba..b05b5349 100644 --- a/helm-chart/eoapi/initdb-data/pgstac-setup.py +++ b/helm-chart/eoapi/initdb-data/pgstac-setup.py @@ -38,6 +38,7 @@ "GRANT pgstac_read TO {username};" "GRANT pgstac_ingest TO {username};" "GRANT pgstac_admin TO {username};" + "ALTER USER {username} SET search_path TO pgstac, public;" # add pgstac to search_path by default ).format( db_name=sql.Identifier(os.environ["POSTGRES_DBNAME"]), username=sql.Identifier(os.environ["POSTGRES_USER"]), diff --git a/helm-chart/eoapi/values.yaml b/helm-chart/eoapi/values.yaml index e038b479..b9777ae3 100644 --- a/helm-chart/eoapi/values.yaml +++ b/helm-chart/eoapi/values.yaml @@ -63,7 +63,7 @@ db: enabled: false image: name: ghcr.io/stac-utils/pgstac - tag: v0.8.2 + tag: v0.9.5 command: - "postgres" - "-N" @@ -147,7 +147,7 @@ pgstacBootstrap: enabled: true image: name: ghcr.io/stac-utils/pgstac - tag: v0.8.2 + tag: v0.9.5 command: - "sh" args: @@ -323,7 +323,7 @@ stac: requestRate: 100000m image: name: ghcr.io/stac-utils/stac-fastapi-pgstac - tag: 2.4.9 + tag: 3.0.1 command: - "uvicorn" - "stac_fastapi.pgstac.app:app" diff --git a/helm-chart/postgrescluster/Chart.yaml b/helm-chart/postgrescluster/Chart.yaml index 16749f4e..6d74f65f 100644 --- a/helm-chart/postgrescluster/Chart.yaml +++ b/helm-chart/postgrescluster/Chart.yaml @@ -5,6 +5,6 @@ type: application # The version below should match the version on the PostgresCluster CRD # from CrunchyData's Postgres Operator # https://access.crunchydata.com/documentation/postgres-operator/latest/releases -version: 5.7.0 -appVersion: 5.7.0 -force: true \ No newline at end of file +version: 5.7.4 +appVersion: 5.7.4 +force: true