From 0179c79fe490e1f44a3e54f6bcc8ff0f37a78d92 Mon Sep 17 00:00:00 2001 From: Pavel Tumik Date: Mon, 26 Oct 2020 06:34:40 -0700 Subject: [PATCH] feat: allow to specify Recreate strategy type for sentry-web (#216) --- sentry/Chart.yaml | 2 +- sentry/templates/deployment-sentry-web.yaml | 2 ++ sentry/values.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sentry/Chart.yaml b/sentry/Chart.yaml index 87c738724..07b40ed53 100644 --- a/sentry/Chart.yaml +++ b/sentry/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: sentry description: A Helm chart for Kubernetes type: application -version: 6.2.0 +version: 6.2.1 appVersion: 20.9.0 dependencies: - name: redis diff --git a/sentry/templates/deployment-sentry-web.yaml b/sentry/templates/deployment-sentry-web.yaml index 4d618aaad..e522b313f 100644 --- a/sentry/templates/deployment-sentry-web.yaml +++ b/sentry/templates/deployment-sentry-web.yaml @@ -8,6 +8,8 @@ metadata: release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" spec: + strategy: + type: {{ .Values.sentry.web.strategyType }} selector: matchLabels: app: {{ template "sentry.fullname" . }} diff --git a/sentry/values.yaml b/sentry/values.yaml index 9bef3ec39..86bb7e487 100644 --- a/sentry/values.yaml +++ b/sentry/values.yaml @@ -53,6 +53,8 @@ relay: sentry: singleOrganization: true web: + # if using filestore backend filesystem with RWO access, set strategyType to Recreate + strategyType: RollingUpdate replicas: 1 env: [] probeInitialDelaySeconds: 10