You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[x] Add `DeleteStrategy` struct to `RolloutStrategy` in beta API
25
+
-[x] Define `PropagationPolicy` field with enum values: `Delete` (default), `Abandon`
26
26
-[x] Update API documentation and validation
27
+
-[x] Move DeleteStrategy inside RolloutStrategy after ApplyStrategy for consistency
27
28
28
-
### Phase 2: Controller Logic Updates
29
-
-[x] Update scheduler to respect deletion policy when cleaning up bindings
30
-
-[x] Add logic to skip binding deletion when policy is `Orphan`
31
-
-[x] Update CRP controller to handle policy appropriately
29
+
### Phase 2: Implementation Details
30
+
TODO: @Arvindthiru to fill out the details for controller logic implementation.
32
31
33
32
### Phase 3: Testing
34
-
-[x] Add unit tests for new deletion policy options
35
-
-[x] Add integration tests to verify behavior
36
-
-[x] Test both `Delete` and `Orphan` scenarios
33
+
-[] Add unit tests for new deletion policy options
34
+
-[] Add integration tests to verify behavior
35
+
-[] Test both `Delete` and `Abandon` scenarios
37
36
38
37
### Phase 4: Documentation & Examples
39
-
-[x] Update CRD documentation
38
+
-[] Update CRD documentation
40
39
-[ ] Add example configurations
41
-
-[x] Update any user-facing documentation
40
+
-[] Update any user-facing documentation
42
41
43
42
## Success Criteria
44
-
-[x] CRP API has `deletionPolicy` field with `Delete`/`Orphan` options
43
+
-[x] CRP API has `deleteStrategy` field with `Delete`/`Abandon` options inside RolloutStrategy
45
44
-[x] Default behavior (`Delete`) preserves current functionality
46
-
-[x]`Orphan` policy leaves placed resources intact when CRP is deleted
47
-
-[x] All tests pass including new deletion policy tests
45
+
-[]`Abandon` policy leaves placed resources intact when CRP is deleted
46
+
-[] All tests pass including new deletion policy tests
48
47
-[x] Changes are minimal and backwards compatible
49
48
50
-
## Implementation Details
49
+
## Current API Structure
51
50
52
-
The key insight is that the scheduler's `cleanUpAllBindingsFor` method is what triggers the deletion of placed resources by deleting the bindings. We need to modify this to respect a deletion policy.
51
+
The DeleteStrategy is now part of RolloutStrategy:
0 commit comments