diff --git a/charts/vaas/Chart.yaml b/charts/vaas/Chart.yaml index a6547ef..69f1289 100644 --- a/charts/vaas/Chart.yaml +++ b/charts/vaas/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: vaas -version: 1.4.4 +version: 1.4.5 description: Deployment of a Verdict-as-a-Service on-premise instance maintainers: - name: G DATA CyberDefense AG diff --git a/charts/vaas/templates/gateway/statefulset.yaml b/charts/vaas/templates/gateway/statefulset.yaml index 8e153f9..7503b13 100644 --- a/charts/vaas/templates/gateway/statefulset.yaml +++ b/charts/vaas/templates/gateway/statefulset.yaml @@ -56,20 +56,34 @@ spec: value: {{ .Release.Name }} - name: ASPNETCORE_ENVIRONMENT value: {{ .Release.Name }} + {{- if .Values.sentry.environment }} - name: Sentry__Environment value: {{ .Values.sentry.environment | quote }} + {{- end }} + {{- if .Values.sentry.dsn }} - name: Sentry__Dsn value: {{ .Values.sentry.dsn | quote }} + {{- end }} + {{- if .Values.sentry.release }} - name: Sentry__Release value: {{ .Values.sentry.release | quote }} + {{- end }} + {{- if .Values.sentry.maxBreadcrumbs }} - name: Sentry__MaxBreadcrumbs value: {{ .Values.sentry.maxBreadcrumbs | quote }} + {{- end }} + {{- if .Values.sentry.maxQueueItems }} - name: Sentry__MaxQueueItems value: {{ .Values.sentry.maxQueueItems | quote }} + {{- end }} + {{- if .Values.sentry.enableTracing }} - name: Sentry__EnableTracing value: {{ .Values.sentry.enableTracing | quote }} + {{- end }} + {{- if .Values.sentry.tracesSampleRate }} - name: Sentry__TracesSampleRate value: {{ .Values.sentry.tracesSampleRate | quote }} + {{- end }} - name: MaxAnalysisDuration value: {{ include "common.secondsToHHMMSS" .Values.gateway.terminationGracePeriodSeconds | quote }} - name: FileCloudVerdictSource__Enable diff --git a/charts/vaas/values.yaml b/charts/vaas/values.yaml index fe08c68..38435e9 100644 --- a/charts/vaas/values.yaml +++ b/charts/vaas/values.yaml @@ -45,14 +45,14 @@ cloud: allowlistLookup: enabled: true -sentry: - dsn: "" - environment: "" - release: "" - maxBreadcrumbs: "" - maxQueueItems: "" - enableTracing: "" - tracesSampleRate: "" +# sentry: +# dsn: "" +# environment: "" +# release: "" +# maxBreadcrumbs: "" +# maxQueueItems: "" +# enableTracing: "" +# tracesSampleRate: "" gateway: ingress: