-
Couldn't load subscription status.
- Fork 232
improve: ResourceIDMapper and ResourceIDProvider for external resources #3019
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
Conversation
f45940d to
658563b
Compare
…pper Signed-off-by: Attila Mészáros <[email protected]>
Will check if this could be elegantly extended to bulk resources Signed-off-by: Attila Mészáros <[email protected]>
63cfeb0 to
f615a86
Compare
|
created a variant that covers also bulk dependents, that looks very reasonable: I would prefer to go with that version. |
|
Should that branch be deleted then? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discard this, didn't see that there is a follow up new version.
| * Provides the identifier for an object that represents an external resource. This ID is used to | ||
| * select target resource for a dependent resource from the resources returned by `{@link | ||
| * io.javaoperatorsdk.operator.api.reconciler.Context#getSecondaryResources(Class)}`. | ||
| * Provides the identifier for an object that represents resource. This ID is used to select target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * Provides the identifier for an object that represents resource. This ID is used to select target | |
| * Provides the identifier for an object that represents a resource. This ID is used to select the target |
| * io.javaoperatorsdk.operator.api.reconciler.Context#getSecondaryResources(Class)}`. | ||
| * Provides the identifier for an object that represents resource. This ID is used to select target | ||
| * external resource for a dependent resource from the resources returned by `{@link | ||
| * io.javaoperatorsdk.operator.api.reconciler.Context#getSecondaryResources(Class)}`. But also for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * io.javaoperatorsdk.operator.api.reconciler.Context#getSecondaryResources(Class)}`. But also for | |
| * io.javaoperatorsdk.operator.api.reconciler.Context#getSecondaryResources(Class)}`. Is is also used as |
| * Provides the identifier for an object that represents resource. This ID is used to select target | ||
| * external resource for a dependent resource from the resources returned by `{@link | ||
| * io.javaoperatorsdk.operator.api.reconciler.Context#getSecondaryResources(Class)}`. But also for | ||
| * {@link ResourceIDMapper} for event sources in external resources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * {@link ResourceIDMapper} for event sources in external resources | |
| * {@link ResourceIDMapper} for event sources in external resources. |
TODO: