-
Notifications
You must be signed in to change notification settings - Fork 187
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
Document behaviour of atomic fields with server-side apply #774
Conversation
docs/spec/v1beta2/kustomization.md
Outdated
@@ -279,7 +279,12 @@ kustomize.toolkit.fluxcd.io/ssa: merge | |||
``` | |||
|
|||
**Note:** The fields defined in manifests will always be overridden, | |||
the above procedure works only for adding new fields that don’t overlap with the desired state. | |||
the above procedure works only for adding new fields that don’t overlap with the desired state |
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.
the above procedure works only for adding new fields that don’t overlap with the desired state | |
the above procedure works only for adding new fields that don’t overlap with the desired state. |
docs/spec/v1beta2/kustomization.md
Outdated
For lists fields which are atomic (e.g `spec.tolerations` in PodSpec), Kubernetes doesn't allow different managers | ||
for such fields, therefore any changes to these fields will be undone, even if you specify a manager. | ||
For more context, please see the Kubernetes enhancement doc: | ||
[555-server-side-apply](https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/555-server-side-apply/README.md#lists) |
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.
[555-server-side-apply](https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/555-server-side-apply/README.md#lists) | |
[555-server-side-apply](https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/555-server-side-apply/README.md#lists). |
Signed-off-by: Somtochi Onyekwere <[email protected]>
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.
LGTM
Thanks @somtochiama
Closes #772
Signed-off-by: Somtochi Onyekwere [email protected]