-
Notifications
You must be signed in to change notification settings - Fork 114
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
Remove the secure boot checker pod #206
Remove the secure boot checker pod #206
Conversation
7a4beea
to
0a65935
Compare
/lgtm |
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.
lgtm
test/util/cluster/cluster.go
Outdated
@@ -308,5 +309,10 @@ func GetNodeSecureBootState(clients *testclient.ClientSet, nodeName, namespace s | |||
return false, err | |||
} | |||
|
|||
err = clients.Pods(namespace).Delete(context.Background(), runningPod.Name, metav1.DeleteOptions{GracePeriodSeconds: pointer.Int64Ptr(0)}) |
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.
should we use defer
to delete the pod in case of early return ?
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.
@SchSeba WDYT ? :)
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.
sorry for the late response :)
0a65935
to
e835e8f
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
This commit removes the pod that is created to validate if the node has secure boot enable or not Before this PR after every test running there are test pods in the sriov operator namespace that does not get clean Signed-off-by: Sebastian Sch <[email protected]>
e835e8f
to
eb8654d
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
This commit removes the pod that is created to validate if the node has
secure boot enable or not
Before this PR after every test running there are test pods in the sriov
operator namespace that does not get clean