Commit Graph

6 Commits (8696cfcfe2d084a70496cabe8f6a35ec2c9761c0)

Author SHA1 Message Date
Weibin Lin d02e3bd780 use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1 2018-10-18 10:18:13 +08:00
Dan Mace 0bef5e4325 Make CreatePrivilegedPSPBinding reentrant
Make CreatePrivilegedPSPBinding reentrant so tests using it (e.g. DNS) can be
executed more than once against a cluster. Without this change, such tests will
fail because the PSP already exists, short circuiting test setup.
2018-10-15 15:31:25 -04:00
Jan Chaloupka ab616a88b9 Promote sysctl annotations to API fields 2018-06-05 23:17:00 +02:00
Mikkel Oscar Lyderik Larsen a37d8ec1f9
Don't create PSP binding when RBAC is not enabled 2017-12-16 15:28:42 +01:00
Mikkel Oscar Lyderik Larsen 3836857229
e2e: Only create PSP if RBAC is enabled
Using PSP in e2e tests depend on RBAC being enabled in the cluster and
thus PSP should only be used when RBAC is.
2017-11-27 01:11:38 +01:00
Tim Allclair 671a6aa068
PodSecurityPolicy E2E tests 2017-11-01 16:00:32 -07:00