kubectl/pkg/cmd/patch
Arda Güçlü f6d66bab8d (kubectl patch): Add descriptive message when patch type is unsupported
`kubectl patch` commands fails when patch type is strategic merge
patch for CRDs. This PR handles `UnsupportedMediaType` error and
shows descriptive message to user.

Kubernetes-commit: dc2c0ad831f71349befdfa57d4367c4ea57d4a6c
2022-09-19 10:15:04 +03:00
..
patch.go (kubectl patch): Add descriptive message when patch type is unsupported 2022-09-19 10:15:04 +03:00
patch_test.go kubectl: add --support to get, patch, edit and replace commands 2021-07-07 08:30:59 -07:00