Skip to content

Conversation

@csviri
Copy link
Contributor

@csviri csviri commented Feb 16, 2023

No description provided.

@csviri csviri self-assigned this Feb 16, 2023
@csviri csviri linked an issue Feb 21, 2023 that may be closed by this pull request
}

@SuppressWarnings("rawtypes")
private void setControllerOverrides(ControllerConfigurationOverrider<?> o,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking more about it, the starter should either reuse an implementation of ControllerConfiguration or provide its own instead of relying on overriding.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? I think this is much more elegant, basically that is what you want to do, override the defaults by providing properties.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally starter is just a wrapper, we should avoid having custom implementations if not really needed.

Copy link
Collaborator

@metacosm metacosm Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks more elegant but is wrong as the resource type shouldn't be changed from what the Reconciler implementation defines.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can emit resource type, and add it if somebody asks for it. And see the reasons.

@csviri csviri requested a review from metacosm February 27, 2023 15:32
@csviri csviri merged commit 8d6fe1e into main Mar 2, 2023
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.

Update to newest version

3 participants