From 6ec37c8be64279caeeb38972e662c999c8a31e84 Mon Sep 17 00:00:00 2001
From: Kemal Akkoyun <kakkoyun@gmail.com>
Date: Thu, 26 Nov 2020 12:48:48 +0300
Subject: [PATCH] Fix wrong indentation for affinity rule

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
---
 jsonnet/kube-prometheus/kube-prometheus-anti-affinity.libsonnet | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jsonnet/kube-prometheus/kube-prometheus-anti-affinity.libsonnet b/jsonnet/kube-prometheus/kube-prometheus-anti-affinity.libsonnet
index 9fd0eb78..3916fbce 100644
--- a/jsonnet/kube-prometheus/kube-prometheus-anti-affinity.libsonnet
+++ b/jsonnet/kube-prometheus/kube-prometheus-anti-affinity.libsonnet
@@ -4,6 +4,7 @@
       podAntiAffinity: {
         preferredDuringSchedulingIgnoredDuringExecution: [
           {
+            weight: 100,
             podAffinityTerm: {
               namespaces: [namespace],
               topologyKey: 'kubernetes.io/hostname',
@@ -14,7 +15,6 @@
                   values: values,
                 }],
               },
-              weight: 100,
             },
           },
         ],
-- 
GitLab