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 annotation, Skip nil response #48

Merged

Conversation

HomayoonAlimohammadi
Copy link
Contributor

We use SkipCleanup annotation to make sure k8sd does not remove the actual k8s node when calling /x/capi/remove-node endpoint so that CAPI core provider can take care of that. This PR makes sure the annotation is available in the cluster config everytime (currently we might end up not without the annotation).
Also there was a minor issue in the doK8sdRequest in which we tried to unmarshal metadata in a nil response.

@HomayoonAlimohammadi HomayoonAlimohammadi requested a review from a team as a code owner August 30, 2024 06:52
Copy link
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

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

LGTM

@HomayoonAlimohammadi HomayoonAlimohammadi merged commit 0985ddb into main Aug 30, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants