You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/en/docs/migration/v5-0-migration.md
+53-2Lines changed: 53 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,58 @@ description: Migrating from v4.7 to v5.0
5
5
6
6
# Migrating from v4.7 to v5.0
7
7
8
-
## API Tweaks
8
+
## Fabric8 client updated to 7.0
9
+
10
+
The Fabric8 client has been updated to version 7.0.0. This is a new major version which implies that some API might have
11
+
changed. Please take a look at the [Fabric8 client 7.0.0 migration guide](https://github.com/fabric8io/kubernetes-client/blob/main/doc/MIGRATION-v7.md).
12
+
13
+
### CRD generator changes
14
+
15
+
Starting with v5.0 (in accordance with changes made to the Fabric8 client in version 7.0.0), the CRD generator will use the maven plugin instead of the annotation processor as was previously the case.
16
+
In many instances, you can simply configure the plugin by adding the following stanza to your project's POM build configuration:
*NOTE*: If you use the SDK's JUnit extension for your tests, you might also need to configure the CRD generator plugin to access your test `CustomResource` implementations as follows:
Please refer to the [CRD generator documentation](https://github.com/fabric8io/kubernetes-client/blob/main/doc/CRD-generator.md) for more details.
57
+
58
+
59
+
## API tweaks
9
60
10
61
1.[Result of managed dependent resources](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/dependent/managed/ManagedDependentResourceContext.java#L55-L57)
11
62
is not `Optional` anymore. In case you use this result, simply use the result
@@ -61,4 +112,4 @@ description: Migrating from v4.7 to v5.0
61
112
Make sure to implement those interfaces in your bulk dependent resources. You can use also the new helper interface, the
0 commit comments