You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable PodSecurityPolicy in our test environment #4480
area/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product featureskind/featureWell-understood/specified features, ready for coding.
Issues go stale after 90 days of inactivity.
Mark the issue as fresh by adding the comment /remove-lifecycle stale.
Stale issues rot after an additional 30 days of inactivity and eventually close.
If this issue is safe to close now please do so by adding the comment /close.
Stale issues rot after 30 days of inactivity.
Mark the issue as fresh by adding the comment /remove-lifecycle rotten.
Rotten issues close after an additional 30 days of inactivity.
If this issue is safe to close now please do so by adding the comment /close.
Rotten issues close after 30 days of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh by adding the comment /remove-lifecycle rotten.
Rotten issues close after 30 days of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh by adding the comment /remove-lifecycle rotten.
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.
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.
I think that we should be shipping a default PSP. It should be harmless for environments that aren't enforcing it, and very useful for installing into environments that require one.
I'm happy to put together PSPs for the components we ship, we can probably start with a derivative of the Tekton PSP (the main change below is MustRunAsNonRoot):
area/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product featureskind/featureWell-understood/specified features, ready for coding.
Activity
knative-housekeeping-robot commentedon Dec 23, 2019
Issues go stale after 90 days of inactivity.
Mark the issue as fresh by adding the comment
/remove-lifecycle stale.Stale issues rot after an additional 30 days of inactivity and eventually close.
If this issue is safe to close now please do so by adding the comment
/close.Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/lifecycle stale
knative-housekeeping-robot commentedon Jan 22, 2020
Stale issues rot after 30 days of inactivity.
Mark the issue as fresh by adding the comment
/remove-lifecycle rotten.Rotten issues close after an additional 30 days of inactivity.
If this issue is safe to close now please do so by adding the comment
/close.Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/lifecycle rotten
knative-housekeeping-robot commentedon Feb 21, 2020
Rotten issues close after 30 days of inactivity.
Reopen the issue with
/reopen.Mark the issue as fresh by adding the comment
/remove-lifecycle rotten.Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/close
knative-prow-robot commentedon Feb 21, 2020
@knative-housekeeping-robot: Closing this issue.
Details
In response to this:
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.
Cynocracy commentedon Mar 27, 2020
/reopen
/remove-lifecycle rotten
knative-prow-robot commentedon Mar 27, 2020
@Cynocracy: Reopened this issue.
Details
In response to this:
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.
1 remaining item
Cynocracy commentedon Mar 27, 2020
Reopening this, is this something we want to support?
At least from our end, we'd like to maintain a policy, and this repo feels like the appropriate place to do so.
Cynocracy commentedon Mar 29, 2020
More info about the last attempt can be found at #4500
mattmoor commentedon Apr 16, 2020
I think that we should be shipping a default PSP. It should be harmless for environments that aren't enforcing it, and very useful for installing into environments that require one.
Here are the docs on enabling this for GKE: https://cloud.google.com/kubernetes-engine/docs/how-to/pod-security-policies#enabling_podsecuritypolicy_controller
I'm happy to put together PSPs for the components we ship, we can probably start with a derivative of the Tekton PSP (the main change below is MustRunAsNonRoot):
mattmoor commentedon Apr 16, 2020
cc @chaodaiG @chizhg How hard would it be to enable this in our e2e test environments?
Add a PodSecurityPolicy for our controllers.
chizhg commentedon Apr 16, 2020
With the current infra it would be pretty easy, just changing https://github.com/knative/serving/blob/master/test/e2e-tests.sh#L39 to
initialize $@ --skip-istio-addon --cluster-creation-flag "--enable-pod-security-policy"would create a PSP enabled cluster.mattmoor commentedon Apr 16, 2020
Awesome 😍
mattmoor commentedon Apr 16, 2020
I'm attempting to make the e2e legs here use this to test it out: knative-extensions/net-contour#107
mattmoor commentedon Apr 16, 2020
Sounds like PSPs are out and OPA/Gatekeeper is the new hotness: https://www.youtube.com/watch?v=SFtHRmPuhEw&feature=youtu.be&t=920
dprotaso commentedon Jun 29, 2020
Going to close this issue since PSP won't be supported in the future
From: kubernetes/kubernetes#90603