kubernetes/hack/testdata/deployment-with-UnixUserID.yaml

24 lines
383 B
YAML
Raw Normal View History

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