diff --git a/swh/templates/graphql/deployment.yaml b/swh/templates/graphql/deployment.yaml --- a/swh/templates/graphql/deployment.yaml +++ b/swh/templates/graphql/deployment.yaml @@ -41,6 +41,17 @@ value: {{ .Values.graphql.logLevel | quote }} - name: TIMEOUT value: {{ .Values.graphql.gunicorn.timeout | quote }} + - name: SWH_SENTRY_ENVIRONMENT + value: {{ $.Values.sentry.environment }} + - name: SWH_MAIN_PACKAGE + value: swh.graphql + - name: SWH_SENTRY_DSN + valueFrom: + secretKeyRef: + name: graphql-sentry-secrets + key: sentry-dsn + # 'name' secret must exist & include key "host" + optional: false volumeMounts: - name: config mountPath: /etc/swh/config.yml