File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,10 @@ angular.module("openshiftConsole")
75
75
76
76
// Certificate updates also require custom host.
77
77
scope . areCertificateInputsReadOnly = function ( ) {
78
- return ! canISetCustomHost ( ) ;
78
+ // For both new and existing routes, you can update TLS if you can
79
+ // *create* custom hosts.
80
+ // See https://github.com/openshift/origin/pull/18312
81
+ return ! scope . canICreateCustomHosts ;
79
82
} ;
80
83
81
84
scope . areCertificateInputsDisabled = function ( ) {
Original file line number Diff line number Diff line change @@ -10056,7 +10056,7 @@ return r.existingRoute ? r.canIUpdateCustomHosts : r.canICreateCustomHosts;
10056
10056
r.isHostnameReadOnly = function() {
10057
10057
return !c();
10058
10058
}, r.disableWildcards = t.DISABLE_WILDCARD_ROUTES, r.areCertificateInputsReadOnly = function() {
10059
- return !c() ;
10059
+ return !r.canICreateCustomHosts ;
10060
10060
}, r.areCertificateInputsDisabled = function() {
10061
10061
var e = _.get(r, "route.tls.termination");
10062
10062
return !e || "passthrough" === e;
You can’t perform that action at this time.
0 commit comments