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

Wait for fleet-controller and rancher-webhook deployments #185

Closed
wants to merge 2 commits into from

Conversation

thehejik
Copy link
Collaborator

@thehejik thehejik commented Oct 17, 2024

Fixes #183

Testrun:

@thehejik thehejik added the bug Something isn't working label Oct 17, 2024
@thehejik thehejik self-assigned this Oct 17, 2024
@thehejik thehejik marked this pull request as draft October 17, 2024 12:01
@thehejik
Copy link
Collaborator Author

This PR is basically done and working with already released versions like v2.9.2 but for now proper version of rancher-webhook 104.0.3+up0.5.3 is not merged in rancher/rancher release/v2.9 (for v2.9-head) so the webhook is not installed at all.

@thehejik thehejik marked this pull request as ready for review October 21, 2024 15:53
Comment on lines +74 to +76
kubectl_rollout_deployment_with_timeout 300s rancher cattle-system && \
kubectl_rollout_deployment_with_timeout 300s fleet-controller cattle-fleet-system && \
kubectl_rollout_deployment_with_timeout 300s rancher-webhook cattle-system
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps you could create another macro function that checks all the 3 deployment statuses and simply call the new macro in all targets?

@thehejik
Copy link
Collaborator Author

Closing as this will be addressed by #191

@thehejik thehejik closed this Oct 31, 2024
@thehejik thehejik deleted the wait-webhook branch October 31, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flake: Fix rancher-webhook missing for test cases
2 participants