mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-12 04:06:44 +00:00
30 lines
694 B
YAML
30 lines
694 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: polaris-failing-deployment
|
|
labels:
|
|
app: polaris-failing-deployment
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: polaris-failing-deployment
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: polaris-failing-deployment
|
|
spec:
|
|
containers:
|
|
- name: this-will-fail
|
|
image: 'alpine'
|
|
command: [ "/bin/sh", "-c", "--" ]
|
|
args: [ "while true; do sleep 30; done;" ]
|
|
securityContext:
|
|
privileged: true
|
|
allowPrivilegeEscalation: true
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
capabilities:
|
|
add:
|
|
- ALL
|