-
Notifications
You must be signed in to change notification settings - Fork 221
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
Properly wait for namespace creation to stabilize in tests #403
Comments
@thomastaylor312 I would love to help out with this albeit with some hand holding since I have just started with Rust over the past few weeks. Please let me know if this is something that might be suited for a beginner to take on (I have experience writing controllers for Kubernetes in Go, so am aware of how the kube client is supposed to work) |
Yeah, if you have that deep of background in Kubernetes, this task should be just fine for a beginner. Given that k8s 1.21+ uses the Please let me know if you have any issues, as running the e2e tests can be difficult at times |
Instead of using a sleep use an actual watcher to ensure that the token is ready before proceeding. Closes krustlet#403 Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
Instead of using a sleep use an actual watcher to ensure that the token is ready before proceeding. Closes krustlet#403 Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
Instead of using a sleep use an actual watcher to ensure that the token is ready before proceeding. Closes krustlet#403 Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
Instead of using a sleep use an actual watcher to ensure that the token is ready before proceeding. Closes krustlet#403 Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
Currently in our integration tests, we are just doing a delay to give the controller enough time to create the token for the
default
service account. However, we should do this more smartly. Ideally, we should do a watch (on exactly what will be part of this issue, probably something like the status of theServiceAccount
or the tokens in the namespace) to wait for the token to be createdThe text was updated successfully, but these errors were encountered: