Skip to content

Conversation

@wind57
Copy link
Contributor

@wind57 wind57 commented Oct 8, 2025

No description provided.

wind57 added 2 commits October 8, 2025 14:40
Signed-off-by: wind57 <[email protected]>
Signed-off-by: wind57 <[email protected]>
}

@Override
protected KubernetesNamespaceProvider kubernetesNamespaceProvider(Environment environment) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not removed, it is part of the super class now

/**
* @author Ryan Baxter
*/
public final class KubernetesConfigDataResource extends ConfigDataResource {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this used to be in a different package with many more fields (that we were not using). So what I did:

  • remove all the fields that we make no use of
  • move it to a dedicate package

*/
public abstract class KubernetesConfigDataLocationResolver
implements ConfigDataLocationResolver<KubernetesConfigDataResource>, Ordered {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this class already existed in a different package, I moved it in a different package.

Also, I transferred some code from it to ConfigDataPropertiesHolder

/**
* @author wind57
*/
public record ConfigDataPropertiesHolder(KubernetesClientProperties clientProperties,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this code already existed in a separate class, but I wanted to have a single entry point where we would look that deals with properties registration.

Signed-off-by: wind57 <[email protected]>
@wind57 wind57 marked this pull request as ready for review October 8, 2025 12:44
@wind57
Copy link
Contributor Author

wind57 commented Oct 8, 2025

@ryanjbaxter ready for review. thank you

@ryanjbaxter ryanjbaxter added this to the 5.0.0-M4 milestone Oct 8, 2025
@ryanjbaxter ryanjbaxter merged commit 110ef0d into spring-cloud:main Oct 8, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants