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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Bugs
HasMetadatais used inresources(...)APIreplaceStatus()on KubernetesMock in CRUD mode #4216: Update metadata whenreplaceStatus()is called.metadata.generationwhenpatchStatus()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.ioapiGroup resources out of openshift-model/ #3227 : Moveconfig.openshift.ioapiGroup resources out ofopenshift-model//versionexpectation #3758: VersionInfo in KubernetesMockServer can be overriddensetIntVal,setStrVal,setKindsetters fromIntOrStringclass 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/modulesInputStreamfrom theLoggableresourcesDependency 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