Commit 8edb44f
committed
fix: allow deleting orphans while retaining the data
check for DeleteCustomResourceOnly label in orphan
if label is set to true, skip data cleaning
ref#11286
Signed-off-by: Nina Zhan <[email protected]>1 parent ed5c43f commit 8edb44f
File tree
2 files changed
+9
-0
lines changed- controller
- k8s/pkg/apis/longhorn/v1beta2
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
626 | 634 | | |
627 | 635 | | |
628 | 636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments