include other namespaces that include the privileged-movers label

This commit is contained in:
Joseph Hanson 2024-10-22 16:12:35 -05:00
parent f4ec9777a5
commit a070f8381b
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -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: