From f6daf776d8748e6a53131fb39c44afa2b727451e Mon Sep 17 00:00:00 2001
From: Ryan Bonham <ryanbonham@granular.ag>
Date: Sun, 24 Feb 2019 20:03:11 -0600
Subject: [PATCH] Add minReadySeconds

---
 production/helm/templates/loki/deployment.yaml | 3 +++
 production/helm/values.yaml                    | 1 +
 2 files changed, 4 insertions(+)

diff --git a/production/helm/templates/loki/deployment.yaml b/production/helm/templates/loki/deployment.yaml
index c8dc8bf1..860f46e9 100644
--- a/production/helm/templates/loki/deployment.yaml
+++ b/production/helm/templates/loki/deployment.yaml
@@ -13,6 +13,9 @@ metadata:
 {{- end }}
 spec:
   replicas: {{ .Values.loki.replicas }}
+  {{- if .Values.loki.minReadySeconds}}
+  minReadySeconds: {{ .Values.loki.minReadySeconds }}
+  {{- end }}
   selector:
     matchLabels:
       app: {{ template "loki.name" . }}
diff --git a/production/helm/values.yaml b/production/helm/values.yaml
index dee4dc5e..884a98dc 100644
--- a/production/helm/values.yaml
+++ b/production/helm/values.yaml
@@ -8,6 +8,7 @@ serviceAccount:
 
 loki:
   replicas: 1
+  minReadySeconds: 60
   deploymentStrategy: RollingUpdate
 
   image:
-- 
GitLab