Skip to content

Show patch strategy in kubectl explain #1551

Open
@xlucas

Description

@xlucas

What would you like to be added?

Show patch strategy metadata (ie patchStrategy, patchMergeKey and so on as covered in https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch) in kubectl explain.

Why is this needed?

This information is very important to users since it could lead to unexpected results while patching object fields but alas only shown in the full API reference. It'd be helpful to see it with kubectl explain directly.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/cliCategorizes an issue or PR as relevant to SIG CLI.

Type

No type

Projects

Status

Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions