Skip to content

Commit

Permalink
add failing v2beta2 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Feb 25, 2020
1 parent 0da4ea6 commit a0604ba
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions test/webhook_cases/failing_test.deploymentv1beta2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
securityContext:
allowPrivilegeEscalation: true
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
- ALL

0 comments on commit a0604ba

Please sign in to comment.