From c2ebb0c7794c1102caf73665af2e7e2f9c757e0c Mon Sep 17 00:00:00 2001 From: Taehyun Kim Date: Mon, 10 Jun 2019 17:55:08 +0900 Subject: [PATCH] add checksum annotations (#14626) Signed-off-by: Taehyun Kim --- stable/sentry/Chart.yaml | 2 +- stable/sentry/templates/cron-deployment.yaml | 5 ++++- stable/sentry/templates/web-deployment.yaml | 5 ++++- stable/sentry/templates/workers-deployment.yaml | 5 ++++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/stable/sentry/Chart.yaml b/stable/sentry/Chart.yaml index 56bd6a8d53..f3684d90fa 100644 --- a/stable/sentry/Chart.yaml +++ b/stable/sentry/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Sentry is a cross-platform crash reporting and aggregation platform. name: sentry -version: 1.5.0 +version: 1.5.1 appVersion: 9.1.1 keywords: - debugging diff --git a/stable/sentry/templates/cron-deployment.yaml b/stable/sentry/templates/cron-deployment.yaml index e1648b532f..130e3a23b6 100644 --- a/stable/sentry/templates/cron-deployment.yaml +++ b/stable/sentry/templates/cron-deployment.yaml @@ -11,8 +11,11 @@ spec: replicas: {{ .Values.cron.replicacount }} template: metadata: - {{- if .Values.cron.podAnnotations }} annotations: + metrics-enabled: {{ .Values.metrics.enabled | quote }} + checksum/configYml: {{ .Values.config.configYml | sha256sum }} + checksum/sentryConfPy: {{ .Values.config.sentryConfPy | sha256sum }} + {{- if .Values.cron.podAnnotations }} {{ toYaml .Values.cron.podAnnotations | indent 8 }} {{- end }} labels: diff --git a/stable/sentry/templates/web-deployment.yaml b/stable/sentry/templates/web-deployment.yaml index 383433005b..f071dd313a 100644 --- a/stable/sentry/templates/web-deployment.yaml +++ b/stable/sentry/templates/web-deployment.yaml @@ -11,8 +11,11 @@ spec: replicas: {{ .Values.web.replicacount }} template: metadata: - {{- if .Values.web.podAnnotations }} annotations: + metrics-enabled: {{ .Values.metrics.enabled | quote }} + checksum/configYml: {{ .Values.config.configYml | sha256sum }} + checksum/sentryConfPy: {{ .Values.config.sentryConfPy | sha256sum }} + {{- if .Values.web.podAnnotations }} {{ toYaml .Values.web.podAnnotations | indent 8 }} {{- end }} labels: diff --git a/stable/sentry/templates/workers-deployment.yaml b/stable/sentry/templates/workers-deployment.yaml index cc68885417..0535962b13 100644 --- a/stable/sentry/templates/workers-deployment.yaml +++ b/stable/sentry/templates/workers-deployment.yaml @@ -11,8 +11,11 @@ spec: replicas: {{ .Values.worker.replicacount }} template: metadata: - {{- if .Values.worker.podAnnotations }} annotations: + metrics-enabled: {{ .Values.metrics.enabled | quote }} + checksum/configYml: {{ .Values.config.configYml | sha256sum }} + checksum/sentryConfPy: {{ .Values.config.sentryConfPy | sha256sum }} + {{- if .Values.worker.podAnnotations }} {{ toYaml .Values.worker.podAnnotations | indent 8 }} {{- end }} labels: