Repository navigation
Commit d0404f8
committed
fix(clickhouse): leave a Job the cleanup did not create alone
The cleanup Job is found by name alone, and <backup>-cleanup is also
the name of the ClickHouse chart's own cleanup hook when a BackupJob
is named after the release. The skip annotation and the stale-Job
check then deleted that hook, and its completion could pass for the
archive delete. Only a Job carrying the cleanup mode label is treated
as the controller's own; any other Job of that name releases the
Backup with a Warning Event instead.
Assisted-by: LLM
Signed-off-by: Alexey Artamonov <[email protected]>1 parent 5d44733 commit d0404f8
2 files changed
Lines changed: 48 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
587 | | - | |
| 586 | + | |
588 | 587 | | |
589 | 588 | | |
590 | 589 | | |
| |||
594 | 593 | | |
595 | 594 | | |
596 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
597 | 629 | | |
598 | 630 | | |
599 | 631 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
786 | 786 | | |
787 | 787 | | |
788 | 788 | | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
789 | 792 | | |
790 | 793 | | |
791 | 794 | | |
| |||
862 | 865 | | |
863 | 866 | | |
864 | 867 | | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
865 | 872 | | |
866 | 873 | | |
867 | 874 | | |
| |||
924 | 931 | | |
925 | 932 | | |
926 | 933 | | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
927 | 941 | | |
928 | 942 | | |
929 | 943 | | |
| |||
0 commit comments