Skip to content

Instantly share code, notes, and snippets.

@sergioprates
Created August 28, 2021 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergioprates/0cb764956f6dafd1b5a79b398a1859fd to your computer and use it in GitHub Desktop.
Save sergioprates/0cb764956f6dafd1b5a79b398a1859fd to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: nginx-users-disallowed
namespace: teste-policy
labels:
app: nginx-users
spec:
securityContext:
containers:
- name: nginx
image: nginx
securityContext:
runAsUser: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment