ObjectMeta breaking change in 6.2.0
See original GitHub issueDescribe the bug
In https://github.com/fabric8io/kubernetes-client/commit/711482cf7b75081693883d1fc538e65dd8f8043b there was a breaking change to the ObjectMeta
object.
The clusterName
field was removed.
This also makes CRD-s generated using the generator that contain any ObjectMetadata field to be non backward compatible.
Fabric8 Kubernetes Client version
6.2.0
Steps to reproduce
Check code / generated CRD
Expected behavior
backward compatibility for objectmeta
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
1.25.3@latest
Environment
macOS
Fabric8 Kubernetes Client Logs
No response
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
sensu-go/CHANGELOG-6.md at main · sensu/sensu-go · GitHub
Agent websocket connection logging includes backend entity name. Changed. The Sensu Agent service now auto-restarts after failures on Windows. Fixed.
Read more >Breaking Changes — Event management and registration 6.0 ...
This version contains a breaking change which might affect users who either extended the notification module with custom code (e.g. by ...
Read more >Read the Docs Documentation
Read the Docs simplifies software documentation by building, versioning, and hosting of your docs, automatically.
Read more >All Blog Posts by Ben Nadel
Read all articles that Ben Nadel has evern written on web development, 2006 through 2022. Topics range from ColdFusion and CFML to HTML...
Read more >Symantec™ Storage Foundation and High Availability ...
Recent software configuration changes and network changes ... In Veritas Support Package 6.2.0, the RHEL7 vxbench binary is missing. 3741456.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you! It is indeed not a breaking change in practice it seems.
It already does - since it’s ultimately using io.fabric8.kubernetes.api.model.ObjectMeta correct?
I’m not sure how this change could be breaking - or at least it shouldn’t be under normal circumstances. If you are using explicitly setting the clusterName field for create / update - which the docs tell you will be ignored - then with this updated api that direction option will be removed.
You could set the clusterName via additionalProperties, again documented as ignored / dropped by the api server. Only if you have enabled some kind of field validation, which we won’t generally support until #4136 could you see a problem.