Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- apiVersion: apps/v1
- kind: Deployment
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: app
- template:
- metadata:
- labels:
- app.kubernetes.io/name: app
- spec:
- containers:
- - image: my/app:1.0.0
- securityContext:
- allowPrivilegeEscalation: false
- privileged: false
- securityContext:
- fsGroup: 2866
- runAsNonRoot: true
- runAsUser: 2866
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement