Guest User

Untitled

a guest
Jul 19th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. apiVersion: v1
  2. kind: Pod
  3. ...
  4. spec:
  5. containers:
  6. - name: ...
  7. volumeMounts:
  8. - name: nfs
  9. mountPath: /usr/share/...
  10. securityContext:
  11. supplementalGroups: [5555]
  12. volumes:
  13. - name: nfs
  14. nfs:
  15. server: <nfs_server_ip_or_host>
  16. path: /opt/nfs
  17.  
  18. kind: Pod
  19. ...
  20. spec:
  21. containers:
  22. - name: ...
  23. securityContext:
  24. fsGroup: 5555
  25.  
  26. spec:
  27. containers:
  28. - name: ...
  29. securityContext:
  30. runAsUser: 1000100001
  31.  
  32. securityContext:
  33. seLinuxOptions:
  34. level: "s0:c123,c456"
Add Comment
Please, Sign In to add comment