Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/scripts/directives/oscRouting.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ angular.module("openshiftConsole")

// Certificate updates also require custom host.
scope.areCertificateInputsReadOnly = function() {
return !canISetCustomHost();
// For both new and existing routes, you can update TLS if you can
// *create* custom hosts.
// See https://github.com/openshift/origin/pull/18312
return !scope.canICreateCustomHosts;
};

scope.areCertificateInputsDisabled = function() {
Expand Down
2 changes: 1 addition & 1 deletion dist/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -10056,7 +10056,7 @@ return r.existingRoute ? r.canIUpdateCustomHosts : r.canICreateCustomHosts;
r.isHostnameReadOnly = function() {
return !c();
}, r.disableWildcards = t.DISABLE_WILDCARD_ROUTES, r.areCertificateInputsReadOnly = function() {
return !c();
return !r.canICreateCustomHosts;
}, r.areCertificateInputsDisabled = function() {
var e = _.get(r, "route.tls.termination");
return !e || "passthrough" === e;
Expand Down