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

Run the controller in non-privileged mode #1050

Closed
mauriciopoppe opened this issue Jun 28, 2023 · 5 comments
Closed

Run the controller in non-privileged mode #1050

mauriciopoppe opened this issue Jun 28, 2023 · 5 comments

Comments

@mauriciopoppe
Copy link
Member

I saw these lines in the controller deployment

securityContext:
privileged: true

Does it need to run as privileged? From my understanding the node plugin is the one that might be doing format/mount which are privileged storage operations but the controller would only be making cloud requests. Could we remove it safely?

@EshamAaqib
Copy link

I have the same question

@mskanth972
Copy link
Contributor

Hi @mauriciopoppe, thanks for bringing here. Yes, it does not need to run as privileged, will raise a PR and mark in the next release.

@mskanth972
Copy link
Contributor

The latest version 1.5.8 has the updated the security context.
https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/CHANGELOG-1.x.md#v158

@mskanth972
Copy link
Contributor

/close
#1055

@k8s-ci-robot
Copy link
Contributor

@mskanth972: Closing this issue.

In response to this:

/close
#1055

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants