Skip to content

Commit 4ecc498

Browse files
Merge branch 'main' into pr/alekzvik/168
2 parents 9ef9dfd + 5cdf18e commit 4ecc498

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+3135
-1448
lines changed

.github/workflows/helm-tests.yml

Lines changed: 116 additions & 185 deletions
Large diffs are not rendered by default.

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010

1111
jobs:
1212
release:
13-
if: "!startsWith(github.ref, 'refs/tags/eoapi-')" # prevent the helm chart releaser from running this release workflow
13+
if: ${{ !startsWith(github.ref, 'refs/tags/eoapi-') }} # prevent the helm chart releaser from running this release workflow
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
@@ -42,3 +42,4 @@ jobs:
4242
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4343
CR_SKIP_EXISTING: true
4444
CR_INDEX_PATH: "."
45+

.github/workflows/tests/test_vector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ def test_vector_api(vector_endpoint):
107107
assert item["id"] == 1
108108

109109
# OGC Tiles
110-
resp = client.get(f"{vector_endpoint}/collections/public.my_data/tiles/0/0/0")
110+
resp = client.get(f"{vector_endpoint}/collections/public.my_data/tiles/WebMercatorQuad/0/0/0")
111111
assert resp.status_code == 200
112112

113113
resp = client.get(
114-
f"{vector_endpoint}/collections/public.my_data/tilejson.json"
114+
f"{vector_endpoint}/collections/public.my_data/tiles/WebMercatorQuad/tilejson.json"
115115
)
116116
assert resp.status_code == 200
117117

CHANGELOG.md

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Added
11+
12+
13+
### Changed
14+
15+
* Refactor pgstacbootstrap job and ConfigMaps to use Helm hooks for execution order [#207](https://github.com/developmentseed/eoapi-k8s/pull/207)
16+
* Simplify PgSTAC Bootstrap Process [#208](https://github.com/developmentseed/eoapi-k8s/pull/208)
17+
* Upgrade stac-fastapi-pgstac to v5.0.2 [#204](https://github.com/developmentseed/eoapi-k8s/pull/204)
18+
19+
### Deprecated
20+
21+
### Removed
22+
23+
### Fixed
24+
25+
### Security
26+
27+
## [v0.6.0] - 2025-04-03
28+
29+
### Breaking Changes
30+
- Database backups are now disabled by default. To enable them, set `backupsEnabled: true` in your values.yaml.
31+
32+
### Added
33+
- Add initContainers to wait for db and its bootstrap [#194](https://github.com/developmentseed/eoapi-k8s/pull/194)
34+
- Let all eoAPI services wait for db bootstrap [#197](https://github.com/developmentseed/eoapi-k8s/pull/197)
35+
36+
### Changed
37+
- Update GCP Setup instructions [#188](https://github.com/developmentseed/eoapi-k8s/pull/188)
38+
- Remove GCP CI deployment tests [#193](https://github.com/developmentseed/eoapi-k8s/pull/193)
39+
- Upgrade PGO to 5.7.0; Add option to disable backups [#191](https://github.com/developmentseed/eoapi-k8s/pull/191)
40+
- Upgrade dependencies [#196](https://github.com/developmentseed/eoapi-k8s/pull/196)
41+
- Upgrade to latest stac-fastapi-pgstac [#195](https://github.com/developmentseed/eoapi-k8s/pull/195)
42+
- Upgrade tipg to 1.0.1 and titiler-pgstac to 1.7.1 [#199](https://github.com/developmentseed/eoapi-k8s/pull/199)
43+
44+
### Fixed
45+
- Fix multidim entrypoint [#192](https://github.com/developmentseed/eoapi-k8s/pull/192)
46+
- Fix unsupported regex in ingress-nginx config [#189](https://github.com/developmentseed/eoapi-k8s/pull/189)
47+
- Reduce errors about too many db connections [#198](https://github.com/developmentseed/eoapi-k8s/pull/198)
48+
49+
## [v0.5.3] - 2025-03-10
50+
51+
### Added
52+
- Allow Repeated Helm Deployments [#169](https://github.com/developmentseed/eoapi-k8s/pull/169)
53+
- Create health documentation [#171](https://github.com/developmentseed/eoapi-k8s/pull/171)
54+
- Introduce a list to avoid hardcoding of api service names [#180](https://github.com/developmentseed/eoapi-k8s/pull/180)
55+
- Add multidim api service [#182](https://github.com/developmentseed/eoapi-k8s/pull/182)
56+
- Tolerations and affinity support [#176](https://github.com/developmentseed/eoapi-k8s/pull/176)
57+
- Allow setting annotations for deployments [#177](https://github.com/developmentseed/eoapi-k8s/pull/177)
58+
59+
### Changed
60+
- Use template functions to quote env vars [#170](https://github.com/developmentseed/eoapi-k8s/pull/170)
61+
- Improve probe setup [#183](https://github.com/developmentseed/eoapi-k8s/pull/183)
62+
63+
### Fixed
64+
- Fix helm template error if docServer settings is not defined [#178](https://github.com/developmentseed/eoapi-k8s/pull/178)
65+
66+
## [v0.5.2] - 2024-12-05
67+
68+
### Added
69+
- Allow additional secrets to set environment variables [#167](https://github.com/developmentseed/eoapi-k8s/pull/167)
70+
71+
## [v0.5.1] - 2024-11-22
72+
73+
### Added
74+
- Add ingest.sh script [#164](https://github.com/developmentseed/eoapi-k8s/pull/164)
75+
76+
### Fixed
77+
- Add passthrough for ca bundle secret into metrics server [#165](https://github.com/developmentseed/eoapi-k8s/pull/165)
78+
79+
## [v0.5.0] - 2024-11-01
80+
81+
### Added
82+
- Document choice of postgres operator [#160](https://github.com/developmentseed/eoapi-k8s/pull/160)
83+
- Add a basic makefile [#162](https://github.com/developmentseed/eoapi-k8s/pull/162)
84+
- Add icon [#163](https://github.com/developmentseed/eoapi-k8s/pull/163)
85+
86+
### Changed
87+
- Update titiler-pgstac version [#157](https://github.com/developmentseed/eoapi-k8s/pull/157)
88+
- Bump eoapi chart and app versions [#158](https://github.com/developmentseed/eoapi-k8s/pull/158)
89+
90+
## [v0.4.18] - 2024-09-25
91+
92+
### Fixed
93+
- Remove VSIL allowed extensions list [#152](https://github.com/developmentseed/eoapi-k8s/pull/152)
94+
95+
### Changed
96+
- Bump eoapi chart version [#153](https://github.com/developmentseed/eoapi-k8s/pull/153)
97+
98+
## [v0.4.17] - 2024-09-24
99+
100+
### Changed
101+
- Change Dependency Order in Support Chart [#150](https://github.com/developmentseed/eoapi-k8s/pull/150)
102+
103+
## [v0.4.16] - 2024-09-20
104+
105+
### Changed
106+
- Upgrade with postgres cluster 5.5.3 [#149](https://github.com/developmentseed/eoapi-k8s/pull/149)
107+
108+
## [v0.4.15] - 2024-09-20
109+
110+
### Changed
111+
- Postgrescluster chart upgrade [#148](https://github.com/developmentseed/eoapi-k8s/pull/148)
112+
113+
## [v0.4.14] - 2024-09-20
114+
115+
### Added
116+
- Add NFS Option to PGBackRest [#147](https://github.com/developmentseed/eoapi-k8s/pull/147)
117+
118+
## [v0.4.13] - 2024-09-09
119+
120+
### Fixed
121+
- Add back postgrescluster dependency to main eoapi chart [#145](https://github.com/developmentseed/eoapi-k8s/pull/145)
122+
123+
## [v0.4.10] - 2024-09-09
124+
125+
### Changed
126+
- Move postgresql cluster file:// dependency to first-level chart dependency [#141](https://github.com/developmentseed/eoapi-k8s/pull/141)
127+
128+
## [v0.4.9] - 2024-09-04
129+
130+
### Fixed
131+
- Fix horizontal pod autoscaling rules [#140](https://github.com/developmentseed/eoapi-k8s/pull/140)
132+
133+
### Changed
134+
- Documentation updates [#139](https://github.com/developmentseed/eoapi-k8s/pull/139)
135+
136+
## [v0.4.8] - 2024-09-03
137+
138+
### Changed
139+
- Default enable vector again [#138](https://github.com/developmentseed/eoapi-k8s/pull/138)
140+
141+
## [v0.4.7] - 2024-09-03
142+
143+
### Added
144+
- Support and Autoscaling Additions [#135](https://github.com/developmentseed/eoapi-k8s/pull/135)
145+
146+
## [v0.4.6] - 2024-07-17
147+
148+
### Changed
149+
- Bump chart patch versions [#131](https://github.com/developmentseed/eoapi-k8s/pull/131)
150+
151+
## [v0.4.2] - 2024-07-11
152+
153+
### Fixed
154+
- Pin pypgstac versions [#126](https://github.com/developmentseed/eoapi-k8s/pull/126)
155+
156+
## [v0.4.1] - 2024-07-10
157+
158+
### Added
159+
- Release Documentation and Cleanup [#117](https://github.com/developmentseed/eoapi-k8s/pull/117)
160+
161+
## [v0.4.0] - 2024-07-09
162+
163+
### Added
164+
- Start EKS IAC with Docs Walkthrough from Notes [#12](https://github.com/developmentseed/eoapi-k8s/pull/12)
165+
- Single Nginx Ingress and NLB with path rewrites [#11](https://github.com/developmentseed/eoapi-k8s/pull/11)
166+
- Unit tests [#14](https://github.com/developmentseed/eoapi-k8s/pull/14)
167+
- Document GKE k8s cluster setup [#27](https://github.com/developmentseed/eoapi-k8s/pull/27)
168+
- Generalized commands and added livenessProbe [#35](https://github.com/developmentseed/eoapi-k8s/pull/35)
169+
- HPA (CPU) draft before locust/artillery [#51](https://github.com/developmentseed/eoapi-k8s/pull/51)
170+
- Autoscaling by request rate [#53](https://github.com/developmentseed/eoapi-k8s/pull/53)
171+
- Support for specifying host and getting certs from cert manager [#60](https://github.com/developmentseed/eoapi-k8s/pull/60)
172+
- Configuration for EKS autoscaler [#59](https://github.com/developmentseed/eoapi-k8s/pull/59)
173+
- PGO by default [#84](https://github.com/developmentseed/eoapi-k8s/pull/84)
174+
- Add fixtures [#9](https://github.com/developmentseed/eoapi-k8s/pull/9)
175+
- Allow custom annotations [#66](https://github.com/developmentseed/eoapi-k8s/pull/66)
176+
- Testing autoscaling in EKS [#55](https://github.com/developmentseed/eoapi-k8s/pull/55)
177+
178+
### Changed
179+
- Default gitSha and insert main gitSha for distributed helm-chart [#21](https://github.com/developmentseed/eoapi-k8s/pull/21)
180+
- Repository rename [#23](https://github.com/developmentseed/eoapi-k8s/pull/23)
181+
- More explicit nginx documentation [#24](https://github.com/developmentseed/eoapi-k8s/pull/24)
182+
- Root path HTML [#25](https://github.com/developmentseed/eoapi-k8s/pull/25)
183+
- GKE related changes [#37](https://github.com/developmentseed/eoapi-k8s/pull/37)
184+
- Release name for parallel CI tests [#43](https://github.com/developmentseed/eoapi-k8s/pull/43)
185+
- API version update for release [#49](https://github.com/developmentseed/eoapi-k8s/pull/49)
186+
- Upgraded pgstac, titiler-pgstac and tipg versions [#67](https://github.com/developmentseed/eoapi-k8s/pull/67)
187+
188+
### Fixed
189+
- Database resources now can set limits and requests [#46](https://github.com/developmentseed/eoapi-k8s/pull/46)
190+
- Integration tests with image upgrade [#68](https://github.com/developmentseed/eoapi-k8s/pull/68)
191+
- Avoid immediate scaleup if autoscale is enabled [#52](https://github.com/developmentseed/eoapi-k8s/pull/52)

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Variables
44
HELM_REPO_URL=https://devseed.com/eoapi-k8s/
55
HELM_CHART_NAME=eoapi/eoapi
6-
PGO_CHART_VERSION=5.7.0
6+
PGO_CHART_VERSION=5.7.4
77

88
.PHONY: all deploy minikube ingest help
99

@@ -13,13 +13,13 @@ all: deploy
1313
deploy:
1414
@echo "Installing dependencies."
1515
@command -v helm >/dev/null 2>&1 || { echo "helm is required but not installed"; exit 1; }
16-
helm install --set disable_check_for_upgrades=true pgo oci://registry.developers.crunchydata.com/crunchydata/pgo --version $(PGO_CHART_VERSION)
16+
helm upgrade --install --set disable_check_for_upgrades=true pgo oci://registry.developers.crunchydata.com/crunchydata/pgo --version $(PGO_CHART_VERSION)
1717
@echo "Adding eoAPI helm repository."
1818
@helm repo add eoapi $(HELM_REPO_URL)
1919
@echo "Installing eoAPI helm chart."
2020
@cd ./helm-chart && \
2121
helm dependency build ./eoapi && \
22-
helm install --namespace eoapi --create-namespace --set gitSha=$$(git rev-parse HEAD | cut -c1-10) eoapi ./eoapi
22+
helm upgrade --install --namespace eoapi --create-namespace --set gitSha=$$(git rev-parse HEAD | cut -c1-10) eoapi ./eoapi
2323

2424
minikube:
2525
@echo "Starting minikube."
@@ -36,6 +36,11 @@ ingest:
3636
@command -v bash >/dev/null 2>&1 || { echo "bash is required but not installed"; exit 1; }
3737
@./ingest.sh || { echo "Ingestion failed."; exit 1; }
3838

39+
tests:
40+
@echo "Running tests."
41+
@command -v helm >/dev/null 2>&1 || { echo "helm is required but not installed"; exit 1; }
42+
@helm unittest helm-chart/eoapi -f 'tests/*.yaml' -v helm-chart/eoapi/test-helm-values.yaml
43+
3944
help:
4045
@echo "Makefile commands:"
4146
@echo " make deploy - Install eoAPI on a cluster kubectl is connected to."

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
<img src="https://github.com/developmentseed/eoapi-k8s/actions/workflows/helm-tests.yml/badge.svg?branch=main" alt="Test">
99
</a>
1010
<a href="https://github.com/developmentseed/eoapi-k8s/blob/main/LICENSE" target="_blank">
11-
<img src="https://img.shields.io/github/license/developmentseed/titiler.svg" alt="Downloads">
11+
<img src="https://img.shields.io/github/license/developmentseed/titiler.svg" alt="License">
12+
</a>
13+
<a href="https://artifacthub.io/packages/search?repo=eoapi" target="_blank">
14+
<img src="https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/eoapi" alt="Artifact Hub">
1215
</a>
1316
</p>
1417

artifacthub-repo.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)