Skip to content
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

restrictCertificatesToNamespace behavior is counter intuitive #7

Open
fpicot opened this issue Nov 21, 2019 · 0 comments
Open

restrictCertificatesToNamespace behavior is counter intuitive #7

fpicot opened this issue Nov 21, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@fpicot
Copy link

fpicot commented Nov 21, 2019

The current config parameter restrictCertificatesToNamespace behavior is to reject an annotation that match another namespace, but accept any annotation that doesn't match clusterDomain.
Eg : if my cluster domain is cluster.local, and the namespace is default, it will prevent me to get a cert for other-namespace.svc.cluster.local, but will accept things like default.svc.cluster.tld or www.google.com.

What would you like to be added

I would like restrictCertificatesToNamespace to restrict all requests to current namespace, and any that doesn't match should be rejected.

Why this is needed

restrictCertificatesToNamespace appears to be a security feature to prevent service in a namespace to impersonate other namespaces services. It should also prevent impersonation of external services.

@sourishkrout sourishkrout added the bug Something isn't working label Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants