-
Notifications
You must be signed in to change notification settings - Fork 224
4.5 release notes #2077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
4.5 release notes #2077
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
43e3805
docs: release notes for 4.5
csviri 162a2d0
format
csviri 87c1801
wording
csviri da2ee06
more wording
csviri d7bc34e
wording
csviri 22d5501
docs: rewording
metacosm 9470f0e
improvements
csviri 46e6ce3
docs: rewording
metacosm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: Migrating from v4.4 to v4.5 | ||
description: Migrating from v4.4 to v4.5 | ||
layout: docs | ||
permalink: /docs/v4-5-migration | ||
--- | ||
|
||
# Migrating from v4.4 to v4.5 | ||
|
||
Version 4.5 introduces improvements related to event handling for Dependent Resources, more precisely the | ||
[caching and event handling](https://javaoperatorsdk.io/docs/dependent-resources#caching-and-event-handling-in-kubernetesdependentresource) | ||
features. As a result the kubernetes resources managed using the | ||
[KubernetesDependentResource](https://github.com/java-operator-sdk/java-operator-sdk/blob/73b1d8db926a24502c3a70da34f6bcac4f66b4eb/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerEventSource.java#L72-L72) | ||
or subclasses, will add an annotation to the resource containing the resource version during and update or create. | ||
This can be turned off by feature a | ||
[feature flag](https://github.com/java-operator-sdk/java-operator-sdk/blob/73b1d8db926a24502c3a70da34f6bcac4f66b4eb/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java#L375-L375) | ||
if causes some issues in your use case. | ||
|
||
This functionality by default - in order to cover some corner cases - will also parse resource version. | ||
While resource version in metadata of a Kubernetes resource should be considered as a string, it is consistently | ||
a monotonically increasing decimal number in the background. | ||
While this against of recommendations in Kubernetes helps to cover some corner cases. | ||
If in some rare circumstances or some special usages | ||
of Kubernetes this would cause a problem, it can be turned off by the | ||
[following feature flag](https://github.com/java-operator-sdk/java-operator-sdk/blob/73b1d8db926a24502c3a70da34f6bcac4f66b4eb/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java#L390-L390). | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which corner cases? It would be useful to add them here so that people can decide whether they need the feature or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
described the situation