Skip to content

Commit 26f75ff

Browse files
ranchodeluxeranchodeluxe
andauthored
patch: pin pypgstac versions (#126)
* patch: pin pypgstac pip install --------- Co-authored-by: ranchodeluxe <[email protected]>
1 parent bb4b9c7 commit 26f75ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

helm-chart/eoapi/Chart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ description: Create a full Earth Observation API with Metadata, Raster and Vecto
1111
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
1212
type: application
1313
kubeVersion: ">=1.23.0-0"
14+
1415
# This is the chart version. This version number should be incremented each time you make changes
1516
# to the chart and its templates, including the app version.
1617
# Versions are expected to follow Semantic Versioning (https://semver.org/)

helm-chart/eoapi/templates/db/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ data:
2727
load.sh: |
2828
#!/bin/bash
2929
apt update -y && apt install python3 python3-pip -y
30-
pip install pypgstac[psycopg]
30+
pip install pypgstac[psycopg]=={{ .Values.db.image.tag | trimPrefix "v" }}
3131
DSN="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"
3232
pypgstac pgready --dsn $DSN
3333
pypgstac load collections /opt/initdb/json-data/noaa-emergency-response.json --dsn $DSN --method insert_ignore

0 commit comments

Comments
 (0)