@stigg/sidecar 2.498.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -35,7 +35,7 @@ Run the service:
35
35
 
36
36
  ```bash
37
37
  docker run --rm --name stigg-sidecar --memory=1gb --cpus="1" \
38
- --publish=8443:8443 --publish=8080:8080 \
38
+ --publish=80:80 --publish=8080:8080 \
39
39
  -e SERVER_API_KEY="<SERVER_API_KEY>" \
40
40
  public.ecr.aws/stigg/sidecar:latest
41
41
  ```
@@ -57,12 +57,14 @@ docker run --rm --name stigg-sidecar --memory=1gb --cpus="1" \
57
57
  | `REDIS_USERNAME` | String | | Redis username |
58
58
  | `REDIS_PASSWORD` | String | | Redis password |
59
59
  | `REDIS_KEYS_TTL_IN_SECS` | Number | `7 * 24 * 60 * 60` | Time for entitlements to be cached,<br/>in milliseconds |
60
- | `PORT` | Number | `8443` | gRPC/Connect server port (HTTPS) |
61
- | `METRICS_PORT` | Number | `8080` | Metrics and health endpoints port (HTTP) |
60
+ | `GRPC_PORT` | Number | `80` | Service port (HTTP/2) |
61
+ | `PORT` | Number | `8443` | *Deprecated* TLS service port (HTTP/2 TLS) |
62
+ | `METRICS_PORT` | Number | `8080` | Metrics and health endpoints port (HTTP/1) |
62
63
  | `ENTITLEMENTS_FALLBACK` | String | `` | Fallback entitlements in a JSON string format. |
63
64
  | `HEALTH_ENDPOINT_URL` | String | `livez` | Health endpoint URL |
64
65
  | `READY_ENDPOINT_URL` | String | `readyz` | Ready endpoint URL |
65
66
  | `OFFLINE` | Boolean | | Enable offline mode for local development |
67
+ | `ENTITLEMENTS_TIMEOUT` | Number | `10 * 1000` | Entitlements request timeout in milliseconds |
66
68
 
67
69
  \*Required fields
68
70
 
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stigg/sidecar",
3
3
  "description": "Stigg sidecar",
4
- "version": "2.498.0",
4
+ "version": "3.0.0",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "type": "commonjs",
7
7
  "main": "dist/index.js",