Commit 7b0c22d
feat: add Job workload type support for pod targeting (#794)
This commit adds support for targeting pods owned by Kubernetes Jobs in chaos experiments by updating the GetPodOwnerTypeAndName function to recognize Job as a valid owner.
Fixes litmuschaos/litmus#5000
Signed-off-by: Avnish Jaltare <avnishjaltare8@gmail.com>
Co-authored-by: Shubham Chaudhary <shubham.chaudhary@harness.io>1 parent 8933362 commit 7b0c22d
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
252 | 268 | | |
253 | 269 | | |
254 | 270 | | |
| |||
0 commit comments