From f0c1656173c1d041be3d2dcc746f598122f1637f Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Fri, 21 May 2021 22:28:20 +0530 Subject: [PATCH] feat(deployment): restart pods on installations. Signed-off-by: Rajesh Rajendran --- scripts/helm/app/openreplay/templates/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/helm/app/openreplay/templates/deployment.yaml b/scripts/helm/app/openreplay/templates/deployment.yaml index 12e90714a..a2259a852 100644 --- a/scripts/helm/app/openreplay/templates/deployment.yaml +++ b/scripts/helm/app/openreplay/templates/deployment.yaml @@ -14,8 +14,9 @@ spec: {{- include "openreplay.selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} annotations: + openreplayRolloutID: {{ randAlphaNum 5 | quote }} # Restart nginx after every deployment + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} labels: