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:
|
rules:
|
||||||
- name: set-volsync-movers-custom-config
|
- name: set-volsync-movers-custom-config
|
||||||
match:
|
match:
|
||||||
any:
|
all:
|
||||||
- resources:
|
- resources:
|
||||||
kinds: ["batch/v1/Job"]
|
kinds: ["batch/v1/Job"]
|
||||||
namespaces: ["default"]
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/created-by: volsync
|
app.kubernetes.io/created-by: volsync
|
||||||
|
- resources:
|
||||||
|
kinds: ["batch/v1/Job"]
|
||||||
|
namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
volsync.backube/privileged-movers: "true"
|
||||||
mutate:
|
mutate:
|
||||||
patchStrategicMerge:
|
patchStrategicMerge:
|
||||||
spec:
|
spec:
|
||||||
|
|
Loading…
Reference in a new issue