Skip to content

Conversation

@dajudge
Copy link
Owner

@dajudge dajudge commented Dec 24, 2025

Updates test code to use the modern Fabric8 Kubernetes Client builder API instead of the deprecated DefaultKubernetesClient constructor.

Changes:

  • Replace new DefaultKubernetesClient(config) with new KubernetesClientBuilder().withConfig(config).build()
  • Update imports from DefaultKubernetesClient to KubernetesClient and KubernetesClientBuilder
  • Use NamespacedKubernetesClient interface where appropriate

This aligns the codebase with current Fabric8 best practices and avoids deprecated API usage.

dajudge and others added 2 commits December 12, 2025 20:18
…ilder

The DefaultKubernetesClient constructor is deprecated in fabric8 kubernetes-client.
This commit migrates all test code to use the new KubernetesClientBuilder pattern.

Changes:
- Replace `new DefaultKubernetesClient(config)` with `new KubernetesClientBuilder().withConfig(config).build()`
- Update imports from DefaultKubernetesClient to KubernetesClient/KubernetesClientBuilder
- Change method signatures to use KubernetesClient interface instead of concrete class

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dajudge dajudge changed the title Claude/fix kubernetes migration md x1s Migrate to Fabric8 Kubernetes Client builder API Dec 25, 2025
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.

3 participants