feat(deployment): restart pods on installations.

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2021-05-21 22:28:20 +05:30
parent 5838571ee3
commit f0c1656173
No known key found for this signature in database
GPG key ID: F9F6FCAB8BACB638

View file

@ -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: