include other namespaces that include the privileged-movers label
This commit is contained in:
parent
f4ec9777a5
commit
a070f8381b
1 changed files with 6 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue