From bf434a88d10129fdf38d850fc9efc591bb603e58 Mon Sep 17 00:00:00 2001
From: David Kaltschmidt <david.kaltschmidt@gmail.com>
Date: Fri, 15 Feb 2019 16:58:55 +0100
Subject: [PATCH] Change image pull default policy to Always

- Loki and promtail are under heavy development, always pulling makes sure bug fixes are shipped
---
 production/helm/values.yaml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/production/helm/values.yaml b/production/helm/values.yaml
index 0754974e..dee4dc5e 100644
--- a/production/helm/values.yaml
+++ b/production/helm/values.yaml
@@ -13,7 +13,7 @@ loki:
   image:
     repository: grafana/loki
     tag: master
-    pullPolicy: IfNotPresent
+    pullPolicy: Always # Always pull while in BETA
 
   service:
     port: 3100
@@ -24,7 +24,8 @@ loki:
 
   livenessProbe: {}
 
-  resources: {}
+  resources:
+    {}
     # limits:
     #   cpu: 100m
     #   memory: 128Mi
@@ -99,7 +100,7 @@ promtail:
   image:
     repository: grafana/promtail
     tag: master
-    pullPolicy: IfNotPresent
+    pullPolicy: Always # Always pull while in BETA
 
   service:
     port: 3100
@@ -110,7 +111,8 @@ promtail:
 
   livenessProbe: {}
 
-  resources: {}
+  resources:
+    {}
     # limits:
     #   cpu: 100m
     #   memory: 128Mi
@@ -139,7 +141,6 @@ promtail:
     - key: node-role.kubernetes.io/master
       effect: NoSchedule
 
-
   ## Affinity for pod assignment
   ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
   ##
-- 
GitLab