Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created October 11, 2021 09:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bharatmicrosystems/769d686612f562d20216e49c31225ba5 to your computer and use it in GitHub Desktop.
Save bharatmicrosystems/769d686612f562d20216e49c31225ba5 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
app: nginx
spec:
securityContext:
seccompProfile:
type: Localhost
localhostProfile: profiles/fine-grained.json
containers:
- name: nginx
image: nginx
securityContext:
allowPrivilegeEscalation: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment