From 909356d2560f014f5d50c0908e3e3d073268b240 Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Thu, 3 Apr 2025 13:46:04 +0200 Subject: [PATCH] Upgraded stac-fastapi-pgstac to 5.0.1. --- .github/workflows/helm-tests.yml | 2 +- helm-chart/eoapi/templates/services/deployment.yaml | 4 +--- helm-chart/eoapi/values.yaml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/helm-tests.yml b/.github/workflows/helm-tests.yml index c3950f12..18eed26f 100644 --- a/.github/workflows/helm-tests.yml +++ b/.github/workflows/helm-tests.yml @@ -109,7 +109,7 @@ jobs: sleep 1 done echo "vector service has started, moving on..." - while [[ -z "$(kubectl get pod | grep "^stac-$RELEASE_NAME-.*$" | cut -d' ' -f1 | xargs -I{} kubectl logs pod/{} | grep "GET /_mgmt/ping" | head -n 1)" ]]; do + while [[ -z "$(kubectl get pod | grep "^stac-$RELEASE_NAME-.*$" | cut -d' ' -f1 | xargs -I{} kubectl logs pod/{} | grep "GET /stac/_mgmt/ping" | head -n 1)" ]]; do echo "still waiting for stac service to start..." sleep 1 done diff --git a/helm-chart/eoapi/templates/services/deployment.yaml b/helm-chart/eoapi/templates/services/deployment.yaml index 585d5b3c..e9eba222 100644 --- a/helm-chart/eoapi/templates/services/deployment.yaml +++ b/helm-chart/eoapi/templates/services/deployment.yaml @@ -48,10 +48,8 @@ spec: name: {{ $serviceName }} command: {{- toYaml (index $v "command") | nindent 10 }} - {{- if (and ($.Values.ingress.className) (or (eq $.Values.ingress.className "nginx") (eq $.Values.ingress.className "traefik")) (not $.Values.testing)) }} + {{- if (and ($.Values.ingress.className) (or (eq $.Values.ingress.className "nginx") (eq $.Values.ingress.className "traefik"))) }} - "--root-path=/{{ $serviceName }}" - {{- else if (and ($.Values.ingress.className) (or (eq $.Values.ingress.className "nginx") (eq $.Values.ingress.className "traefik")) ($.Values.testing)) }} - - "--root-path=/{{ $serviceName }}{{ $.Release.Name }}" {{- end }}{{/* needed for proxies and path rewrites on NLB */}} livenessProbe: tcpSocket: diff --git a/helm-chart/eoapi/values.yaml b/helm-chart/eoapi/values.yaml index 315c3204..9f808987 100644 --- a/helm-chart/eoapi/values.yaml +++ b/helm-chart/eoapi/values.yaml @@ -323,7 +323,7 @@ stac: requestRate: 100000m image: name: ghcr.io/stac-utils/stac-fastapi-pgstac - tag: 3.0.1 + tag: 5.0.1 command: - "uvicorn" - "stac_fastapi.pgstac.app:app"