Skip to content

Commit

Permalink
fix(kyverno): match any namespace in volsync mover pol
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Oct 22, 2024
1 parent fbb89bb commit 42a34c9
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ spec:
rules:
- name: set-volsync-movers-custom-config
match:
resources:
kinds: ["batch/v1/Job"]
selector:
matchLabels:
app.kubernetes.io/created-by: volsync
namespaceSelector:
matchLabels:
volsync.backube/privileged-movers: "true"
any:
- resources:
kinds: ["batch/v1/Job"]
namespaces: ["*"]
selector:
matchLabels:
app.kubernetes.io/created-by: volsync
mutate:
patchStrategicMerge:
spec:
Expand Down

0 comments on commit 42a34c9

Please sign in to comment.