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 1654 #1655

Merged
merged 172 commits into from
May 17, 2024
Merged

Fix 1654 #1655

merged 172 commits into from
May 17, 2024

Conversation

wind57
Copy link
Contributor

@wind57 wind57 commented May 16, 2024

No description provided.

wind57 and others added 30 commits December 4, 2021 07:59
wind57 added 17 commits April 6, 2024 18:43
@@ -57,19 +57,12 @@ public void initialize(BootstrapRegistry registry) {
if (hasConfigServerInstanceProvider()) {
return;
}
registry.registerIfAbsent(KubernetesDiscoveryProperties.class, context -> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no matter the result of getDiscoveryEnabled(context) (meaning drop this check), always call : KubernetesConfigServerBootstrapper::createKubernetesDiscoveryProperties

@wind57 wind57 marked this pull request as ready for review May 17, 2024 06:58
}
return createKubernetesDiscoveryProperties(context);
});
registry.registerIfAbsent(KubernetesDiscoveryProperties.class,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you remove the check to see if discovery is enabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

by accident... thank you

@wind57 wind57 requested a review from ryanjbaxter May 17, 2024 14:33
@ryanjbaxter ryanjbaxter merged commit 3ef495f into spring-cloud:main May 17, 2024
14 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.

[QUESTION] Different behaviour kubernetes-client-config / kubernetes-client-all
3 participants