k3s/hack/testdata/deployment-with-UnixUserID....

24 lines
383 B
YAML
Raw Normal View History

2018-12-19 16:17:46 +00:00
apiVersion: apps/v1
2017-06-21 17:56:00 +00:00
kind: Deployment
metadata:
name: deployment-with-unixuserid
2018-12-19 16:17:46 +00:00
labels:
app: nginx
2017-06-21 17:56:00 +00:00
spec:
replicas: 1
2018-12-19 16:17:46 +00:00
selector:
matchLabels:
app: nginx
2017-06-21 17:56:00 +00:00
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
securityContext:
runAsNonRoot: true
runAsUser: 65534