Skip to content

Commit

Permalink
also set condition for sentry block
Browse files Browse the repository at this point in the history
  • Loading branch information
doxthree committed May 14, 2024
1 parent ee7dd03 commit b03dc14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/vaas/templates/gateway/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ spec:
value: {{ .Release.Name }}
- name: ASPNETCORE_ENVIRONMENT
value: {{ .Release.Name }}
{{- if .Values.sentry }}
{{- if .Values.sentry.environment }}
- name: Sentry__Environment
value: {{ .Values.sentry.environment | quote }}
Expand Down Expand Up @@ -83,7 +84,8 @@ spec:
{{- if .Values.sentry.tracesSampleRate }}
- name: Sentry__TracesSampleRate
value: {{ .Values.sentry.tracesSampleRate | quote }}
{{- end }}
{{- end }}
{{- end }}
- name: MaxAnalysisDuration
value: {{ include "common.secondsToHHMMSS" .Values.gateway.terminationGracePeriodSeconds | quote }}
- name: FileCloudVerdictSource__Enable
Expand Down

0 comments on commit b03dc14

Please sign in to comment.