Skip to content

Commit

Permalink
#899: fix so both permissive and strict mTLS will work
Browse files Browse the repository at this point in the history
  • Loading branch information
fico-jessecarroll committed Oct 1, 2019
1 parent c1e5f07 commit 88f9ad6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions operator/controllers/seldondeployment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ func createIstioResources(mlDep *machinelearningv1alpha2.SeldonDeployment,
},
Spec: istio.DestinationRuleSpec{
Host: pSvcName,
TrafficPolicy: &istio.TrafficPolicy{
TLS: &istio.TLSSettings {
Mode: istio.TLSmodeIstioMutual,
},
},
Subsets: []istio.Subset{
{
Name: p.Name,
Expand Down

0 comments on commit 88f9ad6

Please sign in to comment.