6.0.0 (2022-07-13) #4273
manusa
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bugs
HasMetadata
is used inresources(...)
APIreplaceStatus()
on KubernetesMock in CRUD mode #4216: Update metadata whenreplaceStatus()
is called.metadata.generation
whenpatchStatus()
is used #4217: patchStatus doesn't increment metadata.generation field in Kubernetes Mock Server (CRUD)Improvements
LeaderElector
#2207: added LeaderElector.start to provide a CompletableFuture for easy cancellationconfig.openshift.io
apiGroup resources out of openshift-model/ #3227 : Moveconfig.openshift.io
apiGroup resources out ofopenshift-model/
/version
expectation #3758: VersionInfo in KubernetesMockServer can be overriddensetIntVal
,setStrVal
,setKind
setters fromIntOrString
class to avoid invalid combinationsSharedIndexInformer allows for the addition and removal of indexes even after starting, and you can remove the default namespace index if you wish.
And Store.getKey can be used rather than directly referencing static Cache functions.
kubernetes-client/
andopenshift-client/
modulesInputStream
from theLoggable
resourcesDependency Upgrade
New Features
There is also client.resourceList(...).resources() and client.configMaps().resources() - that will provide a Resource stream.
This allows you to implement composite operations easily with lambda: client.secrets().resources().forEach(r -> r.delete());
Note: Breaking changes in the API
Please see the migration guide
This discussion was created from the release 6.0.0 (2022-07-13).
Beta Was this translation helpful? Give feedback.
All reactions