You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can be very easily reproduced with a local oc cluster up, version v3.6.0-rc.0:
oc cluster up
oc new-app https://github.com/appuio/example-php-sti-helloworld.git --name example
oc expose svc example
oc patch route example -p '{"spec":{"tls":{"termination":"edge"}}}'
At this point Origin crashes with panic: runtime error: invalid memory address or nil pointer dereference
Automatic merge from submit-queue
Changing from no-cert to edge encryption should not panic
A user who doesn't have permission to change from no cert to edge on an update should not be able to cause a panic. In addition, it should be possible for an unprivileged user to strip certificate info out of a previously valid route. Add better tests.
Fixes#15547
Also fixes the broken goversioninfo which prevented a 3.6.0 release build.
When setting
spec.tls.termination
toedge
on a route object Origin crashes.Version
Steps To Reproduce
oc edit route myroute
spec.tls.termination
=edge
Current Result
Expected Result
Route object is updated without crashing Origin.
The text was updated successfully, but these errors were encountered: