epiphany icon indicating copy to clipboard operation
epiphany copied to clipboard

[FEATURE REQUEST] Add support for configurable PodSecurityPolicy setting for Kubernetes

Open erzetpe opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Right now we have PodSecurityPolicy with defaults for flannel.

Describe the solution you'd like We need to have configurable PodSecurityPolicy setting with configurable policy and also review our current settings for flannel.

Describe alternatives you've considered None.

Additional context https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ https://kubernetes.io/docs/concepts/policy/pod-security-policy/ Pod Sec - common uses are denying container escalation, prevent containers from running as root, prevent containers from accessing host networking and filesystem, prevent container escalation. DenyEscalatingExec - should be used for containers/pods allowed to run in privileged mode. Denies the use of exec and attach for privlileged containers.


DoD checklist

  • Changelog
    • [ ] updated
    • [ ] not needed
  • COMPONENTS.md
    • [ ] updated
    • [ ] not needed
  • Schema
    • [ ] updated
    • [ ] not needed
  • Backport tasks
    • [ ] created
    • [ ] not needed
  • Documentation
    • [ ] added
    • [ ] updated
    • [ ] not needed
  • [ ] Feature has automated tests
  • [ ] Automated tests passed (QA pipelines)
    • [ ] apply
    • [ ] upgrade
    • [ ] backup/restore
  • [ ] Idempotency tested
  • [ ] All conversations in PR resolved
  • [ ] Solution meets requirements and is done according to design doc
  • [ ] Usage compliant with license

erzetpe avatar Jan 07 '21 11:01 erzetpe

@erzetpe, @seriva I believe it's not longer valid: https://github.com/epiphany-platform/epiphany/issues/2900

rafzei avatar Jan 19 '22 10:01 rafzei

@rafzei Probably you are right, but the new Kubernetes functionality should have a new issue that will cover this area.

erzetpe avatar Jan 19 '22 10:01 erzetpe