Skip to content

feat: add new WithRestConfig option#31

Merged
ldmonster merged 1 commit intomasterfrom
feat/rest-config-option
Dec 8, 2025
Merged

feat: add new WithRestConfig option#31
ldmonster merged 1 commit intomasterfrom
feat/rest-config-option

Conversation

@faroyam
Copy link
Copy Markdown
Contributor

@faroyam faroyam commented Nov 17, 2025

Overview

This PR adds support for using a pre-configured rest.Config object when initializing the Kubernetes client.

New WithRestConfig() method: allows external code to inject a fully configured rest.Config object into the client, bypassing the automatic configuration logic.

What this PR does / why we need it

Special notes for your reviewer

Does this PR introduce a user-facing change?


@faroyam faroyam force-pushed the feat/rest-config-option branch from 766a643 to 2a62f11 Compare November 19, 2025 05:09
Signed-off-by: Ilya Mayorov <ilya.mayorov@flant.com>
@faroyam faroyam force-pushed the feat/rest-config-option branch from d768576 to 2a3b6bd Compare December 2, 2025 05:15
@faroyam faroyam requested a review from ldmonster December 4, 2025 08:48
@faroyam faroyam marked this pull request as ready for review December 4, 2025 08:48
@ldmonster ldmonster merged commit 684b32c into master Dec 8, 2025
3 checks passed
@ldmonster ldmonster added the enhancement New feature or request label Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants