From ef2d87e2e39eeff15fa9e6d72c23f32d3f2a3735 Mon Sep 17 00:00:00 2001 From: kasarit <49980037+kasarit@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:52:40 +0200 Subject: [PATCH] Changed GeoWeb warnings backend default path --- charts/geoweb-warnings-backend/Chart.yaml | 2 +- charts/geoweb-warnings-backend/README.md | 4 +++- charts/geoweb-warnings-backend/values.yaml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/geoweb-warnings-backend/Chart.yaml b/charts/geoweb-warnings-backend/Chart.yaml index 4cbf156..a83b79e 100644 --- a/charts/geoweb-warnings-backend/Chart.yaml +++ b/charts/geoweb-warnings-backend/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.1 +version: 1.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/geoweb-warnings-backend/README.md b/charts/geoweb-warnings-backend/README.md index f367d5e..463572d 100644 --- a/charts/geoweb-warnings-backend/README.md +++ b/charts/geoweb-warnings-backend/README.md @@ -95,7 +95,7 @@ The following table lists the configurable parameters of the Warnings backend ch | `warnings.commitHash` | Adds commitHash annotation to the deployment | | | `warnings.imagePullPolicy` | Adds option to modify imagePullPolicy | | | `warnings.url` | Url which the application can be accessed | | -| `warnings.path` | Path suffix added to url | `/warnings/(.*)` | +| `warnings.path` | Path suffix added to url | `/warnings-backend/(.*)` | | `warnings.svcPort` | Port used for service | `80` | | `warnings.replicas` | Amount of replicas deployed | `1` | | `warnings.minPodsAvailable` | Minimum available pods in pod disruption budget. Value `0` omits the pdb. | `0` | @@ -111,6 +111,7 @@ The following table lists the configurable parameters of the Warnings backend ch | `warnings.livenessProbe` | Configure libenessProbe | see defaults from `values.yaml` | | `warnings.readinessProbe` | Configure readinessProbe | see defaults from `values.yaml` | | `warnings.env.WARNINGS_PORT_HTTP` | Port used for container | `8080` | +| `warnings.env.APPLICATION_ROOT_PATH` | Application root path for FastAPI. Generally same as `warnings.path` without the wildcard. | `/warnings-backend` | | `secretProvider` | Option to use secret provider instead of passing base64 encoded database connection string as warnings.db_secret *(aws\|azure\|gcp\|vault)* | | | `secretProviderParameters` | Option to add custom parameters to the secretProvider, for example with aws you can specify region | | | `warnings.nginx.name` | Name of nginx container | `nginx` | @@ -157,6 +158,7 @@ The following table lists the configurable parameters of the Warnings backend ch | Chart version | warnings version | |---------------|------------------| +| 1.1.0 | 1.5.3 | | 1.0.1 | 1.5.3 | | 1.0.0 | 1.5.3 | | 0.7.3 | 1.5.3 | diff --git a/charts/geoweb-warnings-backend/values.yaml b/charts/geoweb-warnings-backend/values.yaml index 6743bd6..fc2fd1a 100644 --- a/charts/geoweb-warnings-backend/values.yaml +++ b/charts/geoweb-warnings-backend/values.yaml @@ -4,7 +4,7 @@ versions: warnings: name: warnings registry: registry.gitlab.com/opengeoweb/backend-services/warnings-backend/warnings-backend - path: /warnings/(.*) + path: /warnings-backend/(.*) svcPort: 80 replicas: 1 minPodsAvailable: 0 @@ -37,6 +37,7 @@ warnings: failureThreshold: 1 env: WARNINGS_PORT_HTTP: 8080 + APPLICATION_ROOT_PATH: /warnings-backend nginx: name: warnings-nginx registry: registry.gitlab.com/opengeoweb/backend-services/auth-backend/auth-backend