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

@KubernetesTest supports KubernetesClientBuilder customization #5352

Open
manusa opened this issue Jul 21, 2023 · 5 comments
Open

@KubernetesTest supports KubernetesClientBuilder customization #5352

manusa opened this issue Jul 21, 2023 · 5 comments
Labels
component/kubernetes-server-mock Deals with the kubernetes-server-mock directory mainly enhancement

Comments

@manusa
Copy link
Member

manusa commented Jul 21, 2023

Description

Similar to what's introduced in #5349 for the KubernetesMockServerExtension, the NamespaceExtension (configurable through the @KubernetesTest annotation) should allow users to further customize the KubernetesClientBuilderused to instantiate the KubernetesClient that's automatically injected into the JUnit5-compatible test classes.

Tasks

  • Extend the @KubernetesTest annotation with a Class<? extends Consumer<KubernetesClientBuilder>> kubernetesClientBuilderCustomizer() default KubernetesClientBuilderCustomizer.class;
  • Improve the NamespaceExtension to leverage this customizer

Originally posted in #5349

@stale
Copy link

stale bot commented Oct 19, 2023

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

Copy link

stale bot commented Jan 19, 2024

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

Copy link

stale bot commented Apr 21, 2024

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

Copy link

stale bot commented Jul 21, 2024

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

Copy link

stale bot commented Nov 16, 2024

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label Nov 16, 2024
@manusa manusa added component/kubernetes-server-mock Deals with the kubernetes-server-mock directory mainly and removed status/stale labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes-server-mock Deals with the kubernetes-server-mock directory mainly enhancement
Projects
None yet
Development

No branches or pull requests

1 participant