origin: PUT request that modifies route certificate fails
This looks like an API breaking change in 3.6. If I do a PUT on a route and change the spec.tls.certificate, I’m told the field is immutable. But oc edit allows me to change the value.
The error breaks the web console route editor in 3.6.
@knobunc Let me know if I’m wrong and the field should be immutable, but I believe we were able to change it in previous releases.
See https://github.com/openshift/origin-web-console/issues/1930
Version
3.6.0
Steps To Reproduce
- Edit a route in the web console (or edit the route YAML in the web console).
- Only change the route certificate.
You’ll see an error saying the field is immutable. If you inspect the web console PUT request in developer tools, the only value changed in the request body is spec.tls.certificate.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (18 by maintainers)
@liggitt Fixed the duplicate in the PR. TLS is not coupled to routes/custom-host now (through #18195).
I agree that TLS update should not need that much privilege, but we can discuss that as follow up. The current behaviour is that not even the project admin can modify the fields, and that needs to be fixed immediately.