Skip to content

Instantly share code, notes, and snippets.

@sergioprates
Last active August 28, 2021 19:28
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