aws-efs-csi-driver icon indicating copy to clipboard operation
aws-efs-csi-driver copied to clipboard

Run containers with readOnlyRootFilesystem

Open entscheidungsproblem opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Running containers with a read-only root filesystem--when feasible--is considered a best practice. Not doing so causes EFS CSI driver containers to get flagged by security scanners/linters/questionnaires/overzealous admission controllers.

Describe the solution you'd like in detail Support running some or all containers with readOnlyRootFilesystem: true.

Describe alternatives you've considered An explanation as to why a read-write container filesystem is required is also totally fine. But I would expect that at least some of the containers in EFS CSI driver don't need it.

Additional context Copied from issue in aws-ebs-csi-driver.

entscheidungsproblem avatar Apr 25 '22 13:04 entscheidungsproblem

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 24 '22 13:07 k8s-triage-robot

/remove-lifecycle stale

pierluigilenoci avatar Aug 04 '22 08:08 pierluigilenoci

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Nov 02 '22 09:11 k8s-triage-robot

/remove-lifecycle stale

pierluigilenoci avatar Nov 15 '22 16:11 pierluigilenoci

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Feb 13 '23 16:02 k8s-triage-robot

/remove-lifecycle stale

z0rc avatar Feb 16 '23 15:02 z0rc

Thanks for bringing here. Seems the same issue as 749. Will address it soon by adding in the security context.

mskanth972 avatar Apr 28 '23 05:04 mskanth972

/kind feature

RyanStan avatar May 15 '23 14:05 RyanStan

Closing the issue as PR for enabling security context for container level is merged and will mark it in the coming release.

mskanth972 avatar May 17 '23 18:05 mskanth972

/close

mskanth972 avatar May 17 '23 18:05 mskanth972

@mskanth972: Closing this issue.

In response to this:

/close

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.

k8s-ci-robot avatar May 17 '23 18:05 k8s-ci-robot