Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add podLables to Sentry hooks #659

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sentry/templates/hooks/sentry-db-check.job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ spec:
{{- if .Values.sentry.worker.podLabels }}
{{ toYaml .Values.sentry.worker.podLabels | indent 8 }}
{{- end }}
{{- if .Values.hooks.dbCheck.podLabels }}
{{ toYaml .Values.hooks.dbCheck.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.hooks.dbCheck.affinity }}
affinity:
Expand Down
3 changes: 3 additions & 0 deletions sentry/templates/hooks/sentry-db-init.job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
{{- if .Values.sentry.worker.podLabels }}
{{ toYaml .Values.sentry.worker.podLabels | indent 8 }}
{{- end }}
{{- if .Values.hooks.dbInit.podLabels }}
{{ toYaml .Values.hooks.dbInit.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.hooks.dbInit.affinity }}
affinity:
Expand Down
3 changes: 3 additions & 0 deletions sentry/templates/hooks/snuba-db-init.job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ spec:
{{- if .Values.snuba.podLabels }}
{{ toYaml .Values.snuba.podLabels | indent 8 }}
{{- end }}
{{- if .Values.hooks.snubaInit.podLabels }}
{{ toYaml .Values.hooks.snubaInit.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.hooks.snubaInit.affinity }}
affinity:
Expand Down
3 changes: 3 additions & 0 deletions sentry/templates/hooks/snuba-migrate.job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ spec:
{{- if .Values.snuba.podLabels }}
{{ toYaml .Values.snuba.podLabels | indent 8 }}
{{- end }}
{{- if .Values.hooks.snubaMigrate.podLabels }}
{{ toYaml .Values.hooks.snubaMigrate.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.hooks.snubaInit.affinity }}
affinity:
Expand Down
5 changes: 5 additions & 0 deletions sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ hooks:
# pullPolicy: IfNotPresent
imagePullSecrets: []
env: []
# podLabels: []
podAnnotations: {}
resources:
limits:
Expand All @@ -432,6 +433,7 @@ hooks:
# tolerations: []
dbInit:
env: []
# podLabels: []
podAnnotations: {}
resources:
limits:
Expand All @@ -445,6 +447,7 @@ hooks:
nodeSelector: {}
# tolerations: []
snubaInit:
# podLabels: []
podAnnotations: {}
resources:
limits:
Expand All @@ -456,6 +459,8 @@ hooks:
affinity: {}
nodeSelector: {}
# tolerations: []
snubaMigrate: {}
# podLabels: []

system:
## be sure to include the scheme on the url, for example: "https://sentry.example.com"
Expand Down