Skip to content

Commit

Permalink
feat: sentry 20.10.1 (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokto authored Oct 26, 2020
1 parent 0179c79 commit cb9c844
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 19 deletions.
4 changes: 2 additions & 2 deletions sentry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: sentry
description: A Helm chart for Kubernetes
type: application
version: 6.2.1
appVersion: 20.9.0
version: 7.0.0
appVersion: 20.10.1
dependencies:
- name: redis
repository: https://charts.bitnami.com/bitnami
Expand Down
7 changes: 0 additions & 7 deletions sentry/templates/configmap-sentry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,6 @@ data:
SENTRY_OPTIONS['mail.host'] = os.getenv("SENTRY_EMAIL_HOST", "{{ .Values.mail.host }}")
SENTRY_OPTIONS['mail.from'] = os.getenv("SENTRY_EMAIL_FROM", "{{ .Values.mail.from }}")
######################
# GitHub Integration #
#####################
GITHUB_APP_ID = '{{ .Values.githubSso.clientId }}'
GITHUB_API_SECRET = '{{ .Values.githubSso.clientSecret }}'
#########################
# Bitbucket Integration #
########################
Expand Down
2 changes: 1 addition & 1 deletion sentry/templates/deployment-sentry-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
app: {{ template "sentry.fullname" . }}
release: "{{ .Release.Name }}"
role: cron
replicas: 1
replicas: {{ .Values.sentry.cron.replicas }}
template:
metadata:
annotations:
Expand Down
2 changes: 1 addition & 1 deletion sentry/templates/deployment-snuba-replacer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
app: {{ template "sentry.fullname" . }}
release: "{{ .Release.Name }}"
role: snuba-replacer
replicas: 1
replicas: {{ .Values.snuba.replacer.replicas }}
template:
metadata:
annotations:
Expand Down
6 changes: 3 additions & 3 deletions sentry/templates/hooks/snuba-migrate.job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ spec:
{{- if .Values.clickhouse.enabled }}
for ((i=0;i<{{ .Values.clickhouse.clickhouse.replicas }};i++)); do
export CLICKHOUSE_HOST={{ $clickhouseHost }}-$i.{{ $clickhouseHost }}-headless;
snuba migrate;
snuba migrations migrate --force;
export CLICKHOUSE_HOST={{ $clickhouseHost }}-replica-$i.{{ $clickhouseHost }}-replica-headless;
snuba migrate;
snuba migrations migrate --force;
done
{{- else }}
export CLICKHOUSE_HOST={{ $clickhouseHost }};
snuba migrate;
snuba migrations migrate --force;
{{- end }}
env:
- name: LOG_LEVEL
Expand Down
10 changes: 5 additions & 5 deletions sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ images:

relay:
replicas: 1
# mode: managed
mode: proxy
env: []
probeInitialDelaySeconds: 10
resources: {}
Expand Down Expand Up @@ -110,6 +110,7 @@ sentry:
targetCPUUtilizationPercentage: 50

cron:
replicas: 1
env: []
resources: {}
affinity: {}
Expand Down Expand Up @@ -147,6 +148,9 @@ snuba:
maxReplicas: 5
targetCPUUtilizationPercentage: 50

replacer:
replicas: 1

consumer:
replicas: 1
env: []
Expand Down Expand Up @@ -281,10 +285,6 @@ github: {} # https://github.com/settings/apps (Create a Github App)
# privateKey: "-----BEGIN RSA PRIVATE KEY-----\nMIIEpA" !!!! Don't forget a trailing \n
# webhookSecret: "xxxxx`"

githubSso: {} # https://github.com/settings/developers (Create a OAuth App)
# clientId: "xx"
# clientSecret: "xx"

slack: {}
# slack:
# clientId:
Expand Down

0 comments on commit cb9c844

Please sign in to comment.