Skip to content

Commit 6ecf405

Browse files
cosigned: Fix podAntiAffinity labels (#1841)
Signed-off-by: Andrés Torres <[email protected]>
1 parent c6ca9a2 commit 6ecf405

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/policy-webhook.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
- podAffinityTerm:
3636
labelSelector:
3737
matchLabels:
38-
app: policy-webhook
38+
role: policy-webhook
3939
topologyKey: kubernetes.io/hostname
4040
weight: 100
4141

config/webhook.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
- podAffinityTerm:
3535
labelSelector:
3636
matchLabels:
37-
app: webhook
37+
role: webhook
3838
topologyKey: kubernetes.io/hostname
3939
weight: 100
4040

0 commit comments

Comments
 (0)