Skip to content
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

Update Fabric8 kubernetes client to 7.0.1 #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MichaelMorrisEst
Copy link
Contributor

Update Fabric8 kubernetes client to 7.0.1
Including replacing the deprecated crd-generator-apt with its replacement crd-generator-api-v2 (See https://github.com/fabric8io/kubernetes-client/blob/main/doc/CRD-generator-migration-v2.md)

This should enable the completion of the remaining items of #53 (comment)

Including replacing the deprecated crd-generator-apt with its replacement crd-generator-api-v2 (See https://github.com/fabric8io/kubernetes-client/blob/main/doc/CRD-generator-migration-v2.md)

Signed-off-by: MichaelMorris <[email protected]>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.sundr</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need this dependency? From the fabric8 release notes it seemed like the old api was based on Sundrio, but not the new one

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 are using sundrio annotations in the kafka-access code (to create builder classes e.g. for KafkaAccess).
We didn't need to add the dependency previously as it was coming in from crd-generator-apt, however as the new crd-generator-api-v2 does not include it, we must now add it to continue using those annotations in the kafka-access code

Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

I wonder if it would make sense to upgrade the JavaOperator SDK as well as that should have support for Fabric8 7.0.0 ideally as well.

Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we can get rid of the quotes in some way? Doesn't Fabric8 have some option for it?

Copy link
Member

Choose a reason for hiding this comment

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

Fabric8 7 switched the default HTTP client. So I think you need to update the exclude for the OkHttp client to VErt.x client?

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.

3 participants