From 0cc58ddef5aff86948120664b8090aee92020b78 Mon Sep 17 00:00:00 2001 From: antares-sw <23400824+antares-sw@users.noreply.github.com> Date: Mon, 15 Jan 2024 14:57:13 +0300 Subject: [PATCH] Add SENTRY_DSN to operator (#498) --- charts/v3-operator/Chart.yaml | 2 +- charts/v3-operator/templates/configmap.yaml | 3 +++ charts/v3-operator/values.yaml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/v3-operator/Chart.yaml b/charts/v3-operator/Chart.yaml index b7c9da92f..3f998dd14 100644 --- a/charts/v3-operator/Chart.yaml +++ b/charts/v3-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: v3-operator -version: 3.2.8 +version: 3.2.9 appVersion: v1.0.6 description: Operator hosted service for Stakewise V3 protocol. type: application diff --git a/charts/v3-operator/templates/configmap.yaml b/charts/v3-operator/templates/configmap.yaml index 1068302bd..3e105be96 100644 --- a/charts/v3-operator/templates/configmap.yaml +++ b/charts/v3-operator/templates/configmap.yaml @@ -23,3 +23,6 @@ data: METRICS_HOST: {{ .Values.serviceMonitor.host | quote }} METRICS_PORT: {{ .Values.metrics.port | quote }} MAX_FEE_PER_GAS_GWEI: {{ .Values.settings.maxFeePerGasGwei | quote }} + {{- if .Values.settings.sentryDSN }} + SENTRY_DSN: {{ .Values.settings.sentryDSN | quote }} + {{- else }} diff --git a/charts/v3-operator/values.yaml b/charts/v3-operator/values.yaml index fc589fea1..46212e937 100644 --- a/charts/v3-operator/values.yaml +++ b/charts/v3-operator/values.yaml @@ -112,6 +112,9 @@ settings: # If specified, wallet will be obtained from the secret walletSecretName: "" + # Sentry connection string + # sentryDSN: "" + # Additional arguments to path to operator extraFlags: []