-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
Revert "UpdateOrCreateToken get secrets err handling optimization" #115068
Revert "UpdateOrCreateToken get secrets err handling optimization" #115068
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind regression |
i propose we:
|
return err | ||
} | ||
if secret != nil && failIfExists { | ||
if secret != nil && err == nil && failIfExists { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the code I wrote before is correct.
else if err != nil && !apierrors.IsNotFound(err) {
return err
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are not available, I will test this problem as soon as possible(It is expected to be the day after tomorrow.). There are some travel plans recently 😀.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should revert the change to unblock the ci first.
looking for lgtm.
got it
…as existing) refer to kubernetes/kubernetes#115068 Signed-off-by: helen <haitao.zhang@daocloud.io>
/retest |
/lgtm |
@helen-frank: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
LGTM label has been added. Git tree hash: 6a2cc6c26bb6d933ae29160095f318dca126d0ff
|
Reverts #115000
the PR caused
a panic inkubeadm init to fail:https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-kinder-kubelet-1-25-on-latest/1613806184970588160/build-log.txt
https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-kubelet-1-25-on-latest