-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oauth2-proxy and Istio mesh support #2516
Comments
Thanks for opening this follow up issue, if you need any help for testing or contributing don't hesitate ! |
@axel7083 thanks, definitely will ask for some tests :)! @kimwnasptd, @juliusvonkohout, I wonder about the repository structure. Can you help me here? oauth2-proxy with meshConfigShould this be created in an overlay alongside version with
Istio with envoyExtAuthzHttpChanges required in Istio to enable this setup are not too complicated. The easiest solution would be to provide an overlay. Considering @juliusvonkohout comment about #2455 and the need to have multiple istios for some time, I have two propositions: Simple overlayThe benefit would be that one could simply point the
Full kustomizeThis would follow the instructions in This would result in a structure similar to:
Let me know what you think and if you have other idea on the directory structure. |
Is there a reason that you want to use overlays instead of components ? https://github.com/kubernetes-sigs/kustomize/blob/master/examples/components.md |
@juliusvonkohout I had to take a reading on kustomize components. Yeah, this seems like a good idea. But then how do you imagine the dir structure? |
@juliusvonkohout friendly reminder. I imagine the dir structure for the kustomize could be something like this:
What do you think? |
@kromanow94 I am on a business trip but I'll try to join the manifest meeting tomorrow. So far the structure looks fine. But I would maybe move it one level higher to the same level as oidc-authservice. With the kustomize component we can then patch istio stuff from /common/oauth2 without strict inheritance and overlays. Probably when we remove oidc-authservice we can move some stuff directly to /common/istio-1-17/ But let's discuss this tomorrow. |
We might want to get Solo contacts involved as they are Istio SMEs, marino.wijay@solo.io is a contact and I believe he will be at the Kubeflow Summit. |
I discussed an hour with @kromanow94 and this is what we came up with @kimwnasptd
We call the subfolder components, because we use kustomize components instead of overlays. |
Contributions: * kubeflow/manifests#2544 * kubeflow/manifests#2588 * kubeflow/manifests#2516 * kubeflow/manifests#2517 * kubeflow/manifests#2229 (review) * kubeflow/kubeflow#7437 (comment) * https://kubeflow.slack.com/archives/CKBA5D0MU/p1702465109437099 * https://kubeflow.slack.com/archives/C01A7RYEYMB/p1702556772959959 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009
Contributions: * kubeflow/manifests#2544 * kubeflow/manifests#2588 * kubeflow/manifests#2516 * kubeflow/manifests#2517 * kubeflow/manifests#2229 (review) * kubeflow/kubeflow#7437 (comment) * https://kubeflow.slack.com/archives/CKBA5D0MU/p1702465109437099 * https://kubeflow.slack.com/archives/C01A7RYEYMB/p1702556772959959 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009 * https://kubeflow.slack.com/archives/CE10KS9M4/p1700672066110009
Description
This is a follow up for #2409.
It was discussed that the oauth2-proxy integration with Istio should be managed with Istio Mesh Config instead of EnvoyFilter. The exact setup and reasoning was described it this and following comments: #2409 (comment).
Summary: it's better to use mesh config with
envoyExtAuthzHttp
extension provider instead ofEnvoyFilter
because it's better supported, it's described by Istio to be used in this way, provides the integration with oauth2-proxy for the whole istio cluster that configurable withAuthorizationPolicy
and mitigates issues described in istio/istio#27790.As mentioned in the #2409, I'll provide a PR for this feature.
@kimwnasptd @juliusvonkohout @axel7083
The text was updated successfully, but these errors were encountered: