diff --git a/scripts/helm/nginx-ingress/nginx-ingress/templates/deployment.yaml b/scripts/helm/nginx-ingress/nginx-ingress/templates/deployment.yaml index c9d9d78e5..9cc018dc1 100644 --- a/scripts/helm/nginx-ingress/nginx-ingress/templates/deployment.yaml +++ b/scripts/helm/nginx-ingress/nginx-ingress/templates/deployment.yaml @@ -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: