From c3cb0ac749d1549fa62c296b59670f8392caa939 Mon Sep 17 00:00:00 2001
From: Jeff Cook <jeff@deseret-tech.com>
Date: Fri, 14 Apr 2017 23:25:12 -0600
Subject: [PATCH] Ensure that grafana-credentials are created first. ...

Without this, a race condition may occur, preventing grafana-watcher
from logging in to grafana.
---
 hack/cluster-monitoring/deploy | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hack/cluster-monitoring/deploy b/hack/cluster-monitoring/deploy
index 098af134..3c3a5dcd 100755
--- a/hack/cluster-monitoring/deploy
+++ b/hack/cluster-monitoring/deploy
@@ -24,6 +24,7 @@ until kctl get alertmanager > /dev/null 2>&1; do sleep 1; printf "."; done
 echo "done!"
 
 kctl apply -f manifests/exporters
+kctl apply -f manifests/grafana/grafana-credentials.yaml
 kctl apply -f manifests/grafana
 
 kctl apply -f manifests/prometheus/prometheus-k8s-rules.yaml
-- 
GitLab