diff --git a/helm-chart/eoapi/Chart.yaml b/helm-chart/eoapi/Chart.yaml index 87e691c6..cbb02f45 100644 --- a/helm-chart/eoapi/Chart.yaml +++ b/helm-chart/eoapi/Chart.yaml @@ -11,6 +11,7 @@ description: Create a full Earth Observation API with Metadata, Raster and Vecto # pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application kubeVersion: ">=1.23.0-0" + # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) diff --git a/helm-chart/eoapi/templates/db/configmap.yaml b/helm-chart/eoapi/templates/db/configmap.yaml index 568a54ac..26bb30b2 100644 --- a/helm-chart/eoapi/templates/db/configmap.yaml +++ b/helm-chart/eoapi/templates/db/configmap.yaml @@ -27,7 +27,7 @@ data: load.sh: | #!/bin/bash apt update -y && apt install python3 python3-pip -y - pip install pypgstac[psycopg] + pip install pypgstac[psycopg]=={{ .Values.db.image.tag | trimPrefix "v" }} DSN="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB" pypgstac pgready --dsn $DSN pypgstac load collections /opt/initdb/json-data/noaa-emergency-response.json --dsn $DSN --method insert_ignore