mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix inconsistent SENTRY_SECRET_KEY among the pods when not set explicitly. (#17385)
Signed-off-by: Andrey Voronkov <avoronkov@enapter.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
a042321d1a
commit
7a87f336d3
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Sentry is a cross-platform crash reporting and aggregation platform.
|
||||
name: sentry
|
||||
version: 3.0.0
|
||||
version: 3.0.1
|
||||
appVersion: 9.1.1
|
||||
keywords:
|
||||
- debugging
|
||||
|
||||
@@ -66,6 +66,7 @@ Parameter | Description
|
||||
`image.tag` | Sentry image tag | `9.1.1`
|
||||
`imagePullPolicy` | Image pull policy | `IfNotPresent`
|
||||
`imagePullSecrets` | Specify image pull secrets | `[]`
|
||||
`sentrySecret` | Specify SENTRY_SECRET_KEY. If isn't specified it will be generated automatically. | `nil`
|
||||
`web.podAnnotations` | Web pod annotations | `{}`
|
||||
`web.podLabels` | Worker pod extra labels | `{}`
|
||||
`web.replicacount` | Amount of web pods to run | `1`
|
||||
|
||||
@@ -15,6 +15,7 @@ spec:
|
||||
metrics-enabled: {{ .Values.metrics.enabled | quote }}
|
||||
checksum/configYml: {{ .Values.config.configYml | sha256sum }}
|
||||
checksum/sentryConfPy: {{ .Values.config.sentryConfPy | sha256sum }}
|
||||
checksum/secrets.yaml: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||
{{- if .Values.cron.podAnnotations }}
|
||||
{{ toYaml .Values.cron.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -18,6 +18,8 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-db-init"
|
||||
annotations:
|
||||
checksum/secrets.yaml: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||
labels:
|
||||
app: {{ template "sentry.fullname" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
|
||||
@@ -18,6 +18,8 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-user-create"
|
||||
annotations:
|
||||
checksum/secrets.yaml: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||
labels:
|
||||
app: {{ template "sentry.fullname" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
|
||||
@@ -15,6 +15,7 @@ spec:
|
||||
metrics-enabled: {{ .Values.metrics.enabled | quote }}
|
||||
checksum/configYml: {{ .Values.config.configYml | sha256sum }}
|
||||
checksum/sentryConfPy: {{ .Values.config.sentryConfPy | sha256sum }}
|
||||
checksum/secrets.yaml: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||
{{- if .Values.web.podAnnotations }}
|
||||
{{ toYaml .Values.web.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -15,6 +15,7 @@ spec:
|
||||
metrics-enabled: {{ .Values.metrics.enabled | quote }}
|
||||
checksum/configYml: {{ .Values.config.configYml | sha256sum }}
|
||||
checksum/sentryConfPy: {{ .Values.config.sentryConfPy | sha256sum }}
|
||||
checksum/secrets.yaml: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||
{{- if .Values.worker.podAnnotations }}
|
||||
{{ toYaml .Values.worker.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user