Skip to content

Instantly share code, notes, and snippets.

@sergioprates
Last active August 28, 2021 19:28
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/f928bfc4b5ff6447759e0319b2882635 to your computer and use it in GitHub Desktop.
Save sergioprates/f928bfc4b5ff6447759e0319b2882635 to your computer and use it in GitHub Desktop.
pod-nao-root-gatekeeper.yaml
apiVersion: v1
kind: Pod
metadata:
name: pod-do-bem
namespace: teste-policy
labels:
app: nginx-users
spec:
securityContext:
containers:
- name: nginx
image: nginx
securityContext:
runAsUser: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment