From 578d1e3aabb9d2d40cc9f1f51cf2c8d7c37f19ee Mon Sep 17 00:00:00 2001
From: wilmardo <info@wilmardenouden.nl>
Date: Fri, 10 May 2019 15:14:38 +0200
Subject: [PATCH] Fixes Grafana config in ingress example

---
 examples/ingress.jsonnet | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/examples/ingress.jsonnet b/examples/ingress.jsonnet
index 4aba212a..6eb6e3eb 100644
--- a/examples/ingress.jsonnet
+++ b/examples/ingress.jsonnet
@@ -10,6 +10,15 @@ local kp =
   {
     _config+:: {
       namespace: 'monitoring',
+      grafana+:: {
+        config+: {
+          sections+: {
+            server+: {
+              root_url: 'http://grafana.example.com/',
+            },
+          },
+        },
+      },
     },
     // Configure External URL's per application
     alertmanager+:: {
@@ -19,15 +28,6 @@ local kp =
         },
       },
     },
-    grafana+:: {
-      config+: {
-        sections+: {
-          server+: {
-            root_url: 'http://grafana.example.com/',
-          },
-        },
-      },
-    },
     prometheus+:: {
       prometheus+: {
         spec+: {
-- 
GitLab