From 3a3d54f65fd81677402e6609e086b58a5b4bf141 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Wed, 4 Dec 2024 08:33:24 +0100 Subject: [PATCH] test sentry --- .../renku/templates/search/search-api-deployment.yaml | 6 +++--- .../renku/templates/search/search-provision-deployment.yaml | 6 +++--- helm-chart/renku/values.yaml | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/helm-chart/renku/templates/search/search-api-deployment.yaml b/helm-chart/renku/templates/search/search-api-deployment.yaml index 5993ae3f3..d241af525 100644 --- a/helm-chart/renku/templates/search/search-api-deployment.yaml +++ b/helm-chart/renku/templates/search/search-api-deployment.yaml @@ -51,11 +51,11 @@ spec: - name: "RS_JWT_ALLOWED_ISSUER_URL_PATTERNS" value: "{{ include "renku.keycloakUrl" . }}*/*" - name: "RS_SENTRY_DSN" - value: "https://a3eb112f5f4440a5bf46a7a21cc8eeab@sentry.dev.renku.ch/14" + value: {{ $.Values.search.sentry.dsn }} - name: "RS_SENTRY_ENV" - value: {{ $.Values.core.sentry.environment }} + value: {{ $.Values.search.sentry.environment }} - name: "RS_SENTRY_ENABLED" - value: "true" + value: {{ $.Values.search.sentry.enabled }} - 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 085650483..07c48f7cc 100644 --- a/helm-chart/renku/templates/search/search-provision-deployment.yaml +++ b/helm-chart/renku/templates/search/search-provision-deployment.yaml @@ -67,11 +67,11 @@ spec: - name: RS_SOLR_LOG_MESSAGE_BODIES value: "false" - name: "RS_SENTRY_DSN" - value: "https://a3eb112f5f4440a5bf46a7a21cc8eeab@sentry.dev.renku.ch/14" + value: {{ $.Values.search.sentry.dsn }} - name: "RS_SENTRY_ENV" - value: {{ $.Values.core.sentry.environment }} + value: {{ $.Values.search.sentry.environment }} - name: "RS_SENTRY_ENABLED" - value: "true" + value: {{ $.Values.search.sentry.enabled }} - 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 d8fbcfc60..68b6f1777 100644 --- a/helm-chart/renku/values.yaml +++ b/helm-chart/renku/values.yaml @@ -1377,6 +1377,10 @@ jena: enabled: false ## Configuration for renku-search services search: + sentry: + enabled: true + dsn: https://a3eb112f5f4440a5bf46a7a21cc8eeab@sentry.dev.renku.ch/14 + environment: test searchApi: replicas: 1 image: