permitio / PDP

8 stars 4 forks source link

feat: set uid and gid in Dockerfile to 1000 #178

Closed pierig-n3xtio closed 1 month ago

pierig-n3xtio commented 1 month ago

If you have the gatekeeper policy NSA CISA Kubernetes Hardening v1.2 policy bundle constraints in your kubernetes cluster, it will complain that the permit-pdp image UID and GID are not above 1000 (it's a questionable constraint). In the older Debian based pdp-v2 image, UID and GID were set to 1000 and 999 respectively. This PR sets them both to 1000.