Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liukelin opened this issue Feb 11, 2025 · 0 comments
Open

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

liukelin opened this issue Feb 11, 2025 · 0 comments

Comments

@liukelin
Copy link

liukelin commented Feb 11, 2025

使用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{})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant