From 93559ed60c346d0ab7f0111d96262805b14c502b Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Tue, 3 Dec 2024 11:48:19 +0100 Subject: [PATCH] Update search to release 0.7.0 --- CHANGELOG.rst | 15 ++++++++++++++- .../templates/search/search-api-deployment.yaml | 6 ++++++ .../search/search-provision-deployment.yaml | 6 ++++++ helm-chart/renku/values.yaml | 8 ++++++-- helm-chart/values.yaml.changelog.md | 1 + 5 files changed, 33 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 14363891c6..f46a41fc74 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,7 +17,20 @@ Internal Changes **Improvements** -* **Infrastructure Components**: ``redis`` has been upgraded from version ``7.0.7`` to ``7.4.1`` +- **Infrastructure Components**: ``redis`` has been upgraded from version ``7.0.7`` to ``7.4.1`` +- **Search services**: Add support for sentry + + +**Bug Fixes** + +- **Search services**: Don't return results without linked namespaces + + +Individual Components +~~~~~~~~~~~~~~~~~~~~~ + +- `renku-search 0.7.0 `_ + * **Helm chart**: remove the custom-made Gitlab Omnibus Helm chart from Renku dependencies diff --git a/helm-chart/renku/templates/search/search-api-deployment.yaml b/helm-chart/renku/templates/search/search-api-deployment.yaml index 55e7182525..48a0050304 100644 --- a/helm-chart/renku/templates/search/search-api-deployment.yaml +++ b/helm-chart/renku/templates/search/search-api-deployment.yaml @@ -50,6 +50,12 @@ spec: value: "false" - name: "RS_JWT_ALLOWED_ISSUER_URL_PATTERNS" value: "{{ include "renku.keycloakUrl" . }}*/*" + - name: "RS_SENTRY_DSN" + value: {{ .Values.search.sentry.dsn | quote }} + - name: "RS_SENTRY_ENV" + value: {{ .Values.search.sentry.environment | quote }} + - name: "RS_SENTRY_ENABLED" + value: {{ .Values.search.sentry.enabled | quote}} - name: JAVA_OPTS value: "-Xmx{{ .Values.search.searchApi.jvmXmx }} -XX:+UseZGC -XX:+ZGenerational" ports: diff --git a/helm-chart/renku/templates/search/search-provision-deployment.yaml b/helm-chart/renku/templates/search/search-provision-deployment.yaml index 946d6491b5..dcc676d2a6 100644 --- a/helm-chart/renku/templates/search/search-provision-deployment.yaml +++ b/helm-chart/renku/templates/search/search-provision-deployment.yaml @@ -66,6 +66,12 @@ spec: value: "500ms" - name: RS_SOLR_LOG_MESSAGE_BODIES value: "false" + - name: "RS_SENTRY_DSN" + value: {{ .Values.search.sentry.dsn | quote }} + - name: "RS_SENTRY_ENV" + value: {{ .Values.search.sentry.environment | quote }} + - name: "RS_SENTRY_ENABLED" + value: {{ .Values.search.sentry.enabled | quote }} - name: JAVA_OPTS value: "-Xmx{{ .Values.search.searchProvision.jvmXmx }} -XX:+UseZGC -XX:+ZGenerational" ports: diff --git a/helm-chart/renku/values.yaml b/helm-chart/renku/values.yaml index 7d6aeff8fb..0ab615d6fd 100644 --- a/helm-chart/renku/values.yaml +++ b/helm-chart/renku/values.yaml @@ -1237,11 +1237,15 @@ jena: enabled: false ## Configuration for renku-search services search: + sentry: + enabled: false + dsn: + environment: searchApi: replicas: 1 image: repository: renku/search-api - tag: "0.6.2" + tag: "0.7.0" pullPolicy: IfNotPresent service: type: ClusterIP @@ -1254,7 +1258,7 @@ search: replicas: 1 image: repository: renku/search-provision - tag: "0.6.2" + tag: "0.7.0" pullPolicy: IfNotPresent service: type: ClusterIP diff --git a/helm-chart/values.yaml.changelog.md b/helm-chart/values.yaml.changelog.md index d559ad49e0..3fd436c08b 100644 --- a/helm-chart/values.yaml.changelog.md +++ b/helm-chart/values.yaml.changelog.md @@ -8,6 +8,7 @@ Please follow this convention when adding a new row ## Upgrading to Renku 0.62.0 * DELETE ``gitlab.*`` - all values related to the bundled GitLab have been removed. GitLab must from now on be provided as an external service and is no longer supplied as a part of the Renku Helm chart. +* NEW `search.sentry.environment|dsn|enabled` to set the sentry environment for the search services ## Upgrading to Renku 0.61.0