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

fix: network status in ForeignCluster resource #2783

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

claudiolor
Copy link
Contributor

@claudiolor claudiolor commented Oct 22, 2024

Description

This patch fixes the network status in the ForeignCluster resource. Previously, when the connection or the configuration were missing no conditions were shown, so who looked at the ForeignCluster status could think that everything is correctly configured.
Moreover, this patch makes the status check more robust, collecting all the errors first and only once we are sure that the module is enabled (there is at least a network resource present), it writes the errors in the status.

@adamjensenbot
Copy link
Collaborator

Hi @claudiolor. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /hold, /unhold Add/remove the hold label to prevent merging with /merge

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@claudiolor
Copy link
Contributor Author

/build

@fra98 fra98 added the kind/bug label Oct 22, 2024
@claudiolor
Copy link
Contributor Author

/build

@claudiolor claudiolor force-pushed the clo/fix-network-status branch from 10749dd to 8b0a88f Compare October 23, 2024 10:37
@claudiolor claudiolor marked this pull request as ready for review October 23, 2024 10:42
@claudiolor claudiolor force-pushed the clo/fix-network-status branch from 992d74f to c16a934 Compare October 24, 2024 10:10
@claudiolor
Copy link
Contributor Author

/build

@claudiolor
Copy link
Contributor Author

/build

@claudiolor claudiolor force-pushed the clo/fix-network-status branch from 0fb45f0 to 187cb4c Compare October 24, 2024 14:39
This patch fixes the network status in the ForeignCluster resource.
Previously, when the connection or the configuration were missing no
conditions were shown, so who looked at the ForeignCluster status could
think that everything is correctly configured.
Moreover, this patch makes the status check more robust, collecting all
the errors first and only once we are sure that the module is enabled
(there is at least a network resource present), it writes the
errors in the status.
@claudiolor claudiolor force-pushed the clo/fix-network-status branch from 187cb4c to f79d00b Compare October 24, 2024 14:44
@claudiolor
Copy link
Contributor Author

/test

@fra98
Copy link
Member

fra98 commented Oct 25, 2024

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Oct 25, 2024
@adamjensenbot adamjensenbot merged commit 516bd6a into liqotech:master Oct 25, 2024
13 checks passed
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants