Skip to content
Snippets Groups Projects
Unverified Commit 37107791 authored by Frederic Branczyk's avatar Frederic Branczyk Committed by GitHub
Browse files

Merge pull request #811 from kakkoyun/fix_anti_affinity

Fix wrong indentation for affinity rule
parents 41a973d0 6ec37c8b
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
podAntiAffinity: { podAntiAffinity: {
preferredDuringSchedulingIgnoredDuringExecution: [ preferredDuringSchedulingIgnoredDuringExecution: [
{ {
weight: 100,
podAffinityTerm: { podAffinityTerm: {
namespaces: [namespace], namespaces: [namespace],
topologyKey: 'kubernetes.io/hostname', topologyKey: 'kubernetes.io/hostname',
...@@ -14,7 +15,6 @@ ...@@ -14,7 +15,6 @@
values: values, values: values,
}], }],
}, },
weight: 100,
}, },
}, },
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment