SeldonIO / seldon-operator

Seldon Core Operator for Kubernetes
Apache License 2.0
12 stars 10 forks source link

Seldon Operator and Istio with strict mTLS does not work #64

Open fico-jessecarroll opened 5 years ago

fico-jessecarroll commented 5 years ago

Hello.

I came across issues when deploying models in the scenario described in the title. Is this supported? The work-around was to add a policy to the namespace to allow permissive mTLS. Can this be an enhancement if not supported at this time?

Thanks

ukclivecox commented 5 years ago

This sounds like a useful enhancement. Can you explain more the issue and are you able to provide a PR (maybe just docs) to illustrate the fix?

fico-jessecarroll commented 5 years ago

Sure. I'll try to find some time today or early next week. The work-around policy manifest is fairly straight forward. `apiVersion: "authentication.istio.io/v1alpha1" kind: "Policy" metadata: name: "default" spec: peers:

fico-jessecarroll commented 5 years ago

Created a pull request. Have you 'merged' this into core? If so, i can create pull request for that as well if you approve this. Thanks

ukclivecox commented 5 years ago

Yes. Would be great to open on there.

ukclivecox commented 5 years ago

Will this be ok for users who don't want mTLS?

fico-jessecarroll commented 5 years ago

I'll open an issue in the seldon-core project and put in a pull request.

So I tested both permissive and strict mTLS and this seems to work with both. You and your team are obviously free to test/verify, catch any usecase I might have missed.

Thanks