Skip to content

Commit 9570d38

Browse files
youngLiuHYclaude
andauthored
feat: add inline canary and batch strategy in RolloutSpec (#49)
* feat: add inline canary and batch strategy in RolloutSpec Add CanaryStrategy and BatchStrategy fields to RolloutSpec, allowing users to configure rollout strategy directly in Rollout without requiring a separate RolloutStrategy resource. These fields are mutually exclusive with StrategyRef. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: add cross-field validation and fix plan doc path - Add XValidation rules to enforce mutual exclusivity between StrategyRef, CanaryStrategy, and BatchStrategy fields - Fix plan document path from apis/rollout/v1alpha1/types.go to rollout/v1alpha1/rollout_types.go Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * feat: rollout spec support webhook * feat: rollout strategy support refined batch strategy && remove rollout batch strategy * fix: adjust the structure and rename some fields * fix: remove outdated plan --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9424ce3 commit 9570d38

5 files changed

Lines changed: 4793 additions & 66 deletions

File tree

config/crd/rollout/rollout.kusionstack.io_rollouts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
format: int32
7171
type: integer
7272
strategyRef:
73-
description: StrategyRef is the reference to the rollout strategy
73+
description: StrategyRef is the reference to the rollout strategy.
7474
type: string
7575
trafficTopologyRefs:
7676
description: |-

0 commit comments

Comments
 (0)