Skip to content

Commit

Permalink
match on namespaces that have privileged-movers label -- not just def…
Browse files Browse the repository at this point in the history
…ault
  • Loading branch information
jahanson committed Oct 22, 2024
1 parent 38cf6d9 commit fae9822
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ spec:
rules:
- name: set-volsync-movers-custom-config
match:
any:
all:
- resources:
kinds: ["batch/v1/Job"]
namespaces: ["default"]
selector:
matchLabels:
app.kubernetes.io/created-by: volsync
- resources:
kinds: ["batch/v1/Job"]
namespaceSelector:
matchLabels:
volsync.backube/privileged-movers: "true"
mutate:
patchStrategicMerge:
spec:
Expand Down

0 comments on commit fae9822

Please sign in to comment.