Skip to content

Patch node with taints using add is overriding already added taints #517

@AlexGoo

Description

@AlexGoo

Hello,

I have a problem with patch node method. Basically I am able to patch a node, in my case updating taints, but the problem is that using add operator it adds the new taints but deletes the old ones.

Basically is not merging is overriding.

This is the patch
"{"op":"add","path":"/spec/taints","value":[{"effect":"NoExecute","key":"node.kubernetes.io/unreachable"}]}"

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