Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Using the Update method introduces raise condition #18

@lcnuance

Description

@lcnuance

Two problems:

Update changes all the content of the object. It's better to use patch instead if possible to reduce the risk of replacing the previous changes of an almost simultaneous request.

As another example, using update also has another problem because if you want to port the model to use Daemonsets, update replaces all the content. If the server api is newer and supports update strategies, updating the daemonset would delete this content and default to the OnDelete strategy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions