Browse Source

Merge pull request #8021 from ewolinetz/logging_fix_antiaffinity

Fixing indentation for topology keyfor antiaffinity rules
OpenShift Merge Robot 7 years ago
parent
commit
bbae0ab058

+ 1 - 1
roles/openshift_logging_elasticsearch/templates/2.x/es.j2

@@ -38,7 +38,7 @@ spec:
                   operator: In
                   values:
                   - elasticsearch
-            topologyKey: kubernetes.io/hostname
+              topologyKey: kubernetes.io/hostname
       terminationGracePeriod: 600
       serviceAccountName: aggregated-logging-elasticsearch
       securityContext:

+ 1 - 1
roles/openshift_logging_elasticsearch/templates/5.x/es.j2

@@ -38,7 +38,7 @@ spec:
                   operator: In
                   values:
                   - elasticsearch
-            topologyKey: kubernetes.io/hostname
+              topologyKey: kubernetes.io/hostname
       terminationGracePeriod: 600
       serviceAccountName: aggregated-logging-elasticsearch
       securityContext:

+ 1 - 1
roles/openshift_logging_kibana/templates/2.x/kibana.j2

@@ -37,7 +37,7 @@ spec:
                   operator: In
                   values:
                   - kibana
-            topologyKey: kubernetes.io/hostname
+              topologyKey: kubernetes.io/hostname
       serviceAccountName: aggregated-logging-kibana
 {% if kibana_node_selector is iterable and kibana_node_selector | length > 0 %}
       nodeSelector:

+ 1 - 1
roles/openshift_logging_kibana/templates/5.x/kibana.j2

@@ -37,7 +37,7 @@ spec:
                 operator: In
                 values:
                 - kibana
-          topologyKey: kubernetes.io/hostname
+            topologyKey: kubernetes.io/hostname
       serviceAccountName: aggregated-logging-kibana
 {% if kibana_node_selector is iterable and kibana_node_selector | length > 0 %}
       nodeSelector: