chore(nginx): restart on helm installation.

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2021-05-20 23:11:18 +05:30
parent f63c28dafc
commit baf0a8f258

View file

@ -13,8 +13,9 @@ spec:
{{- include "nginx.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
nginxRolloutID: {{ randAlphaNum 5 | quote }} # Restart nginx after every deployment
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: