Bug 1619869
Summary: | oc patch on custom resource returns error | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Justin Pierce <jupierce> | ||||
Component: | Master | Assignee: | Maciej Szulik <maszulik> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Xingxing Xia <xxia> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.11.0 | CC: | aos-bugs, cben, jokerman, mfojtik, mmccomas | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.11.z | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-10-26 08:55:34 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Justin Pierce
2018-08-22 01:03:37 UTC
Created attachment 1477760 [details]
loglevel output of patch
From the error message, pls try 'json' or 'merge' patch. Per https://trello.com/c/i86svfMn/973-5-control-plane-custom-resource-definitions#comment-59c130c000115a9d5feda5c6 , 'strategy' is not supported. It may be supported in future. If it cannot be supported in the short term, an error message indicating the unsupported nature of the default strategy would be helpful. Update: according to https://github.com/kubernetes/kubernetes/issues/58414, there is no plan to support strategic merge patch for CRD. https://github.com/kubernetes/kubernetes/pull/53558 improved the error message. |