Skip to content

Fix 1654#1655

Merged
ryanjbaxter merged 172 commits intospring-cloud:mainfrom
wind57:fix-1654
May 17, 2024
Merged

Fix 1654#1655
ryanjbaxter merged 172 commits intospring-cloud:mainfrom
wind57:fix-1654

Conversation

@wind57
Copy link
Copy Markdown
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
if (hasConfigServerInstanceProvider()) {
return;
}
registry.registerIfAbsent(KubernetesDiscoveryProperties.class, context -> {
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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