Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Add PodSecurityPolicy #509

Closed
danielpeach opened this issue Dec 20, 2018 · 0 comments
Closed

Add PodSecurityPolicy #509

danielpeach opened this issue Dec 20, 2018 · 0 comments
Labels

Comments

@danielpeach
Copy link
Contributor

/kind dev

If I try to install Knative Build on a cluster that enforces PodSecurityPolicies, the build-controller and build-webhook deployments running in knative-build can't create pods.

Ideally Knative Build would ship with the following:

  • A PodSecurityPolicy with the minimum set of privileges these deployments need to run.
  • A corresponding Role scoped to the knative-build namespace
  • A corresponding RoleBinding scoped to the build-controller service account

This wouldn't affect the Builds themselves - I'm guessing that cluster admins will want to define their own PSPs for Builds.

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

No branches or pull requests

2 participants