Thanks to visit codestin.com
Credit goes to github.com

Skip to content

patch_namespaced_config_map merge-patch #968

Closed
@jicowan

Description

@jicowan

Description of the issue (please include outputs or screenshots if possible):
I am trying to patch a configmap that has two elements: roles and users.

roles: |
   - some values
users: |
   - some values

I want to remove the element users from the configmap when the value is null. The default patch strategy appears to be a strategic merge, but I want to do a regular merge patch. How do you specify the merge strategy when you call the patch_namespaced_config_map() API? Do you have to use patch_namespaced_config_map_with_http_info? And if so, how do you pass the merge strategy to it?

Metadata

Metadata

Assignees

Labels

kind/documentationCategorizes issue or PR as related to documentation.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions