Skip to content

Commit

Permalink
mobu: idfdev sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
fajpunk committed Jan 15, 2025
1 parent cb7f79f commit 8367a05
Showing 3 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions applications/mobu/secrets.yaml
Original file line number Diff line number Diff line change
@@ -68,3 +68,10 @@ github-refresh-app-webhook-secret:
This value is also configured in the GitHub UI for the matching GitHub
application. If we need to change this value, the Phalanx secret must be
updated, and the value must be changed in the GitHub UI.
sentry-dsn:
description: >-
The Sentry DSN for the mobu Sentry project. This is a URL that includes an
authentication token that tells the Sentry SDK where to send events. It can
be found here:
https://rubin-observatory.sentry.io/settings/projects/mobu/keys/
5 changes: 5 additions & 0 deletions applications/mobu/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -40,6 +40,11 @@ spec:
secretKeyRef:
name: {{ template "mobu.fullname" . }}-gafaelfawr-token
key: "token"
- name: "MOBU_SENTRY_DSN"
valueFrom:
secretKeyRef:
name: {{ template "mobu.fullname" . }}-secret
key: "sentry-dsn"
{{- if .Values.config.githubRefreshApp }}
- name: "MOBU_GITHUB_REFRESH_APP_WEBHOOK_SECRET"
valueFrom:
2 changes: 2 additions & 0 deletions applications/mobu/values-idfdev.yaml
Original file line number Diff line number Diff line change
@@ -6,6 +6,8 @@ config:
profile: development
metrics:
enabled: true
sentryEnvironment: idfdev
sentryTracesSampleConfig: errors
githubRefreshApp:
acceptedGithubOrgs:
- lsst-sqre

0 comments on commit 8367a05

Please sign in to comment.