Skip to content

Commit

Permalink
fix(sentry): resolve errors with sentry runbooks (#772)
Browse files Browse the repository at this point in the history
* fix(sentry): resolve errors with sentry runbooks

Signed-off-by: David van der Spek <DavidSpek@users.noreply.github.com>

* fix: set correct postgres dependency version

Signed-off-by: David van der Spek <DavidSpek@users.noreply.github.com>

---------

Signed-off-by: David van der Spek <DavidSpek@users.noreply.github.com>
Co-authored-by: David van der Spek <DavidSpek@users.noreply.github.com>
  • Loading branch information
davidspek and davidspek authored Jul 11, 2023
1 parent 421f0ff commit afa74bd
Show file tree
Hide file tree
Showing 9 changed files with 146 additions and 100 deletions.
10 changes: 5 additions & 5 deletions sentry/helm/sentry/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies:
- name: sentry
repository: https://sentry-kubernetes.github.io/charts
version: 19.3.0
version: 19.4.0
- name: postgres
repository: https://pluralsh.github.io/module-library
version: 0.2.1
Expand All @@ -12,7 +12,7 @@ dependencies:
repository: https://pluralsh.github.io/module-library
version: 0.2.4
- name: runbook
repository: file:///Users/hans.rauer/Repos/module-library/helm/runbook
version: 0.1.0
digest: sha256:fde26e8ad9b4396eb52690e335d574dcd0ad7a9487250b579d155e6a0465f6aa
generated: "2023-07-07T12:43:07.550065+02:00"
repository: https://pluralsh.github.io/module-library
version: 0.1.1
digest: sha256:30ad4bae8f92b6b6b0f5b9d1635742c289afa0daf7f19319f9add9243aaaadff
generated: "2023-07-11T13:09:18.616422+02:00"
8 changes: 4 additions & 4 deletions sentry/helm/sentry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ apiVersion: v2
name: sentry
description: A Helm chart for deploying sentry on plural
type: application
version: 0.3.1
version: 0.3.2
appVersion: "23.6.1"
dependencies:
- name: sentry
version: 19.3.0
version: 19.4.0
repository: https://sentry-kubernetes.github.io/charts
- name: postgres
version: 0.2.1
Expand All @@ -20,5 +20,5 @@ dependencies:
repository: https://pluralsh.github.io/module-library
condition: clickhouse.enabled
- name: runbook
version: 0.1.0
repository: https://github.com/pluralsh/module-library/
version: 0.1.1
repository: https://pluralsh.github.io/module-library
Binary file removed sentry/helm/sentry/charts/runbook-0.1.0.tgz
Binary file not shown.
Binary file added sentry/helm/sentry/charts/runbook-0.1.1.tgz
Binary file not shown.
Binary file removed sentry/helm/sentry/charts/sentry-19.3.0.tgz
Binary file not shown.
Binary file added sentry/helm/sentry/charts/sentry-19.4.0.tgz
Binary file not shown.
3 changes: 1 addition & 2 deletions sentry/helm/sentry/deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ metadata:
application: true
description: Deploys sentry crafted for the target cloud
spec:
breaking: true
dependencies:
- type: helm
name: bootstrap
Expand All @@ -17,7 +16,7 @@ spec:
- type: helm
name: postgres
repo: postgres
version: '>= 0.1.6'
version: '>= 0.2.13'
- type: helm
name: cluster-operator
repo: rabbitmq
Expand Down
8 changes: 7 additions & 1 deletion sentry/helm/sentry/templates/runbooks.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{{- include "runbook.compile.tpl" ( dict "value" .Values.runbook.sentry "context" (dict "Chart" $.Chart "Subcharts" $.Subcharts "Release" $.Release "Template" $.Template "Values" $.Values ) ) }}
---
{{- include "runbook.compile.tpl" ( dict "value" .Values.runbook.snuba "context" (dict "Chart" $.Chart "Subcharts" $.Subcharts "Release" $.Release "Template" $.Template "Values" $.Values ) ) }}
{{- include "runbook.compile.tpl" ( dict "value" .Values.runbook.snuba "context" (dict "Chart" $.Chart "Subcharts" $.Subcharts "Release" $.Release "Template" $.Template "Values" $.Values ) ) }}
---
{{- include "runbook.compile.tpl" ( dict "value" .Values.runbook.relay "context" (dict "Chart" $.Chart "Subcharts" $.Subcharts "Release" $.Release "Template" $.Template "Values" $.Values ) ) }}
{{- if .Values.sentry.symbolicator.enabled }}
---
{{- include "runbook.compile.tpl" ( dict "value" .Values.runbook.symbolicator "context" (dict "Chart" $.Chart "Subcharts" $.Subcharts "Release" $.Release "Template" $.Template "Values" $.Values ) ) }}
{{- end }}
Loading

0 comments on commit afa74bd

Please sign in to comment.