From 165961633281808040a359f40c7ed3cf46ae09ad Mon Sep 17 00:00:00 2001 From: pvannierop Date: Wed, 18 Dec 2024 16:11:27 +0100 Subject: [PATCH] Change default path for data-dashboard-backend api --- charts/data-dashboard-backend/Chart.yaml | 5 +---- charts/data-dashboard-backend/README.md | 6 ++---- charts/data-dashboard-backend/templates/configmap.yaml | 2 +- charts/data-dashboard-backend/values.yaml | 5 +---- 4 files changed, 5 insertions(+), 13 deletions(-) diff --git a/charts/data-dashboard-backend/Chart.yaml b/charts/data-dashboard-backend/Chart.yaml index 038e75ea..571c7eca 100644 --- a/charts/data-dashboard-backend/Chart.yaml +++ b/charts/data-dashboard-backend/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "0.2.2" name: data-dashboard-backend description: API for data in the data dashboard -version: 0.3.7 +version: 0.3.8 sources: ["https://github.com/thehyve/radar-data-dashboard-backend"] deprecated: false type: application @@ -11,9 +11,6 @@ maintainers: - email: keyvan@thehyve.nl name: Keyvan Hedayati url: https://www.thehyve.nl - - email: nivethika@thehyve.nl - name: Nivethika Mahasivam - url: https://www.thehyve.nl/experts/nivethika-mahasivam - email: pim@thehyve.nl name: Pim van Nierop url: https://www.thehyve.nl/experts/pim-van-nierop diff --git a/charts/data-dashboard-backend/README.md b/charts/data-dashboard-backend/README.md index ec823fad..11e9cdec 100644 --- a/charts/data-dashboard-backend/README.md +++ b/charts/data-dashboard-backend/README.md @@ -2,7 +2,7 @@ # data-dashboard-backend -![Version: 0.3.7](https://img.shields.io/badge/Version-0.3.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square) +![Version: 0.3.8](https://img.shields.io/badge/Version-0.3.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square) API for data in the data dashboard @@ -13,7 +13,6 @@ API for data in the data dashboard | Name | Email | Url | | ---- | ------ | --- | | Keyvan Hedayati | | | -| Nivethika Mahasivam | | | | Pim van Nierop | | | ## Source Code @@ -44,7 +43,7 @@ API for data in the data dashboard | ingress.enabled | bool | `true` | Enable ingress controller resource | | ingress.ingressClassName | string | `"nginx"` | Ingress class name | | ingress.annotations | object | check values.yaml | Annotations that define default ingress class, certificate issuer | -| ingress.path | string | `"/api"` | Path within the url structure | +| ingress.path | string | `"/dashboard-data"` | Path within the url structure | | ingress.pathType | string | `"ImplementationSpecific"` | | | ingress.hosts | list | `["localhost"]` | Hosts to accept requests from | | ingress.tls.secretName | string | `"radar-base-tls"` | | @@ -63,7 +62,6 @@ API for data in the data dashboard | managementPortal.clientId | string | `"radar_data_dashboard_backend"` | ManagementPortal OAuth 2.0 client ID, having grant type client_credentials | | managementPortal.clientSecret | string | `"secret"` | ManagementPortal OAuth 2.0 client secret | | jwtResourceName | string | `"res_DataDashboardAPI"` | JWT Resource name to use for this service in ManagementPortal | -| path | string | `"/api"` | Base path to use in application | | jdbc.driver | string | `"org.postgresql.Driver"` | JDBC Driver to connect to the database. | | jdbc.url | string | `"jdbc:postgresql://postgresql:5432/data-dashboard"` | JDBC Connection url of the database. | | jdbc.user | string | `"postgres"` | Username of the database | diff --git a/charts/data-dashboard-backend/templates/configmap.yaml b/charts/data-dashboard-backend/templates/configmap.yaml index 5e691d19..1ef324b7 100644 --- a/charts/data-dashboard-backend/templates/configmap.yaml +++ b/charts/data-dashboard-backend/templates/configmap.yaml @@ -10,7 +10,7 @@ metadata: data: dashboard.yml: | service: - baseUri: http://0.0.0.0:9000{{ .Values.path }} + baseUri: http://0.0.0.0:9000{{ .Values.ingress.path }} advertisedBaseUri: null enableCors: true auth: diff --git a/charts/data-dashboard-backend/values.yaml b/charts/data-dashboard-backend/values.yaml index fe97c072..229e49c1 100644 --- a/charts/data-dashboard-backend/values.yaml +++ b/charts/data-dashboard-backend/values.yaml @@ -53,7 +53,7 @@ ingress: annotations: cert-manager.io/cluster-issuer: letsencrypt-prod # -- Path within the url structure - path: /api + path: /dashboard-data pathType: ImplementationSpecific # -- Hosts to accept requests from hosts: @@ -148,9 +148,6 @@ managementPortal: # -- JWT Resource name to use for this service in ManagementPortal jwtResourceName: res_DataDashboardAPI -# -- Base path to use in application -path: /api - jdbc: # -- JDBC Driver to connect to the database. driver: org.postgresql.Driver