Skip to content

使用go client api 推进发布,好像没有效果 #254

@liukelin

Description

@liukelin

使用go client api 推进发布,好像没有效果

rollout, err := clientSet.RolloutsV1beta1().Rollouts(namespace).Get(ctx, rolloutsName, metav1.GetOptions{})
rollout.Status.CanaryStatus.CurrentStepState = kruisev1beta1.CanaryStepStateReady
 _, err = clientSet.RolloutsV1beta1().Rollouts(namespace).Update(ctx, rollout, metav1.UpdateOptions{})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions