You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
21
22
22
### Fixed
23
23
24
+
- Fixed `stac.overrideRootPath` empty string handling for stac-auth-proxy integration - empty string now properly omits `--root-path` argument entirely [#307](https://github.com/developmentseed/eoapi-k8s/pull/307)
24
25
- Pin `metrics-server` to `bitnamilegacy` registry due to https://github.com/bitnami/charts/issues/35164[#309](https://github.com/developmentseed/eoapi-k8s/pull/309)
Copy file name to clipboardExpand all lines: docs/advanced/stac-auth-proxy.md
+86-2Lines changed: 86 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# STAC Auth Proxy Integration with EOAPI-K8S
1
+
# STAC Auth Proxy Integration with eoAPI-K8S
2
2
3
3
## Solution Overview
4
4
@@ -25,7 +25,7 @@ raster:
25
25
26
26
## Deployment Guide
27
27
28
-
### 1. Configure EOAPI-K8S
28
+
### 1. Configure eoAPI-K8S
29
29
30
30
```yaml
31
31
# values.yaml for eoapi-k8s
@@ -98,9 +98,93 @@ Expected behavior:
98
98
- Check ingress controller logs
99
99
- Verify service-specific settings in values.yaml
100
100
101
+
## Root Path Configuration for Direct Service Access
102
+
103
+
### Understanding usage of overrideRootPath with stac-auth-proxy
104
+
105
+
When deploying the eoAPI-K8S with the STAC service behind a stac-auth-proxy, you may want to configure the `stac.overrideRootPath` parameter to control how the FastAPI application handles root path prefixes. This is particularly useful when the auth proxy is responsible for managing the `/stac` path prefix.
106
+
107
+
When deploying stac-auth-proxy in front of the eoAPI service, you may need to configure the root path behavior to avoid URL conflicts. The `stac.overrideRootPath` parameter allows you to control how the STAC FastAPI application handles root path prefixes.
108
+
109
+
### Setting overrideRootPath to Empty String
110
+
111
+
For stac-auth-proxy deployments, you often want to set `stac.overrideRootPath` to an empty string:
0 commit comments