Repository navigation
docs: document custom config for KubernetesDependentResource - #3743
Open
matheusandre1 wants to merge 1 commit into
Open
matheusandre1 wants to merge 1 commit into
matheusandre1 wants to merge 1 commit into
Conversation
matheusandre1
force-pushed
the
doc-issue2087
branch
2 times, most recently
from
December 4, 2026 00:44
0d9ecdf to
3fdd0a7
Compare
matheusandre1
marked this pull request as ready for review
December 4, 2026 01:19
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documentation example lacks a managed workflow and incorrectly assumes the dependent is named configmap, causing the override to throw during registration.
1 open issue
What changed in this PR
Documents how to provide custom configuration to Kubernetes dependent resources, addressing #2087 without changing runtime behavior.
Changes:
- Shows configuration subclassing, registration, and retrieval using the current API.
- Explains replacement semantics and namespace inheritance.
- Adds a regression test for custom configuration injection.
| File | Description |
|---|---|
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/config/ControllerConfigurationOverriderTest.java | Tests extended configuration injection and namespace inheritance. |
| docs/content/en/docs/documentation/operations/configuration.md | Documents the workaround and corrects the configuration interface name. |
Review effort: Balanced
Signed-off-by: Matheus André <matheusandr2@gmail.com>
matheusandre1
force-pushed
the
doc-issue2087
branch
from
December 4, 2026 01:53
3fdd0a7 to
2d12979
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes: #2087
KubernetesDependentResource
already implementsConfiguredDependentResource, so a subclass cannot plug in its own configuration type. The workaround discussed in the issue (extendingKubernetesDependentResourceConfig`) wasnever documented, and the sample from the issue no longer compiles against the
current constructor.
Summary by CodeRabbit