Skip to content

Conversation

baloo42
Copy link

@baloo42 baloo42 commented Nov 30, 2024

Fix CRD-Generator tests and examples for #2540

See also fabric8io/kubernetes-client#6683

/cc @metacosm

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 30, 2024
Signed-off-by: Bernhard Strähle <bernhard.straehle@gmail.com>
@baloo42 baloo42 force-pushed the fix/fabric8-7-crd-generator-examples branch from baca27b to 5c1b637 Compare November 30, 2024 09:59
@baloo42 baloo42 marked this pull request as ready for review November 30, 2024 10:09
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 30, 2024
@Version("v1")
@Kind("Test")
private static class TestCR extends CustomResource<Void, Void> implements Namespaced {
public static class TestCR extends CustomResource<Void, Void> implements Namespaced {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this change necessary? I think we used different visibility on purpose to check if this was possible to do…

Copy link
Author

Choose a reason for hiding this comment

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

I'm currently looking into this. It was somehow necessary in this project to get it working on my machine.
It's possible that this is a not yet known "breaking" change.

Copy link
Author

@baloo42 baloo42 Nov 30, 2024

Choose a reason for hiding this comment

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

@Group("sample.javaoperatorsdk")
@Version("v1")
class TestCustomResource extends CustomResource<Void, Void> implements Namespaced {
public class TestCustomResource extends CustomResource<Void, Void> implements Namespaced {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as above

Copy link
Collaborator

@metacosm metacosm left a comment

Choose a reason for hiding this comment

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

Merging as-is so that we can trigger CI on the "main" PR and check things.

@metacosm metacosm merged commit 2a55271 into operator-framework:fabric8-7 Nov 30, 2024
2 checks passed
@baloo42 baloo42 deleted the fix/fabric8-7-crd-generator-examples branch December 1, 2024 09:03
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.

2 participants