- Bouncy Castle is no longer needed
- Apache Felix SCR Annotations removed
- Model Changes
- Deprecations and Removals
Note
If you encounter any problems with the following "Migration from 6.x to 7.x" instructions, please let us know by creating an issue in our GitHub repository.
We value your feedback and will work to address your issue promptly. Your contribution is essential to improving our documentation, making our migration process smoother for everyone!
The Bouncy Castle library is no longer needed as a dependency. In previous versions, this was an optional dependency needed for Elliptic Curve (EC) Keys. The Kubernetes client now uses the default Java security provider which should be enough to handle all scenarios.
Apache Felix SCR annotations are not supported anymore by community. Fabric8 Kubernetes Client no longer uses Apache Felix SCR annotations for OSGi Declarative Services. Fabric8 Kubernetes Client is now using official OSGi annotations instead. If you're using Apache Felix SCR annotations, you need to switch to Official OSGi Component annotations.
The Maven artifact io.fabric8:kubernetes-model
has been removed from the project and is no longer published.
This artifact was just an aggregator of some of the Kubernetes model artifacts and had no specific purpose.
It is no longer published, the io.fabric8:kubernetes-client-api
or io.fabric8:kubernetes-openshift-uberjar
artifacts should be used instead.
Some of the types and packages have been moved to more suiting modules and package names.
The operator.openshift.io APIs have been deprecated since OpenShift 4.1. The model types and DSL entry points for these APIs have been removed from the OpenShift client.
Some of the types in the network.openshift.io
API group have been removed.
From the remaining types some of them have been moved to more appropriate modules.
The removed types include:
- ClusterNetwork (
OpenShiftClient.clusterNetworks
) - EgressNetworkPolicy (
OpenShiftClient.egressNetworkPolicies
) - HostSubnet (
OpenShiftClient.hostSubnets
) - NetNamespace (
OpenShiftClient.netNamespaces
)
The moved types include:
- Config (io.fabric8.openshift.api.model.miscellaneous.imageregistry.operator.v1.Config) (
openshift-model-operator
) - EgressRouter (
openshift-model-operator
) - HelmChartRepository (
openshift-model-miscellaneous
) - OperatorPKI (
openshift-model-operator
) - ProjectHelmChartRepository (
openshift-model-miscellaneous
)
The Service Catalog API extension has been removed. The upstream project has been archived since May 6, 2022. We are no longer supporting it.