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

psp scheduled for removal #18

Open
ArgTang opened this issue Mar 31, 2021 · 3 comments
Open

psp scheduled for removal #18

ArgTang opened this issue Mar 31, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ArgTang
Copy link

ArgTang commented Mar 31, 2021

kubernetes/kubernetes#97171

The PodSecurityPolicy API is deprecated in 1.21, and will no longer be served starting in 1.25.

For some cloudvendors this timeline is even more strict. like azure AKS.

most fields can be set right in the deployment manifest. as podsecuritycontext, or securityContext per container. Maybe they can be moved there?

@jcmoraisjr
Copy link
Member

Yeah I'm aware of this deprecation but couldn't take the time to see alternatives - except to not configure psp in the customized values file. We've already pod security context which can be freely customized, maybe we can also add container security context? Any other suggestion?

@ArgTang
Copy link
Author

ArgTang commented Apr 14, 2021

security context would be a nice thing to add.
Maybe provide have a separate feature flag for psp and roles so people could disable the current psp?

@jcmoraisjr
Copy link
Member

psp is currently disabled by default:

rbac:
  security:
    enable: false

This however doesn't disable roles and rolebindings used to authorize haproxy ingress in the cluster. Only psp related role and rolebindings are removed / not created.

Regarding container security context seems to be a good idea but I could find a good place to the configuration in the values file - something that allows me eg to configure one container and not the other. I'll leave this open until we have a proper implementation.

@jcmoraisjr jcmoraisjr added the enhancement New feature or request label Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants