Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/helm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would love to understand why the other don't need this... but I'll just put that on my infinite todo list

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other also need it, after updates...! They now all run on:

  • /raster
  • /vector
  • /stac

echo "still waiting for stac service to start..."
sleep 1
done
Expand Down
4 changes: 1 addition & 3 deletions helm-chart/eoapi/templates/services/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/eoapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down