Skip to content

Commit

Permalink
processing each container types separately
Browse files Browse the repository at this point in the history
Signed-off-by: Jaydip Gabani <[email protected]>
  • Loading branch information
JaydipGabani committed Aug 7, 2024
1 parent 3446780 commit dbba915
Show file tree
Hide file tree
Showing 7 changed files with 1,311 additions and 149 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: k8spspallowedusers
displayName: Allowed Users
createdAt: "2024-05-30T00:06:50Z"
description: Controls the user and group IDs of the container and some volumes. Corresponds to the `runAsUser`, `runAsGroup`, `supplementalGroups`, and `fsGroup` fields in a PodSecurityPolicy. For more information, see https://kubernetes.io/docs/concepts/policy/pod-security-policy/#users-and-groups
digest: 1a2443f09b2e751b9055bfb94f8874274b79a12d1947476348de5103e7c25324
digest: b70711f62a3207d1cb7c374416567bc9d9fee374bbc1fa356bbd13ab9a192daf
license: Apache-2.0
homeURL: https://open-policy-agent.github.io/gatekeeper-library/website/users
keywords:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ spec:
securityContext:
runAsUser: 250
runAsGroup: 250
initContainers:
- name: nginx
image: nginx
securityContext:
runAsUser: 250
runAsGroup: 250
360 changes: 323 additions & 37 deletions artifacthub/library/pod-security-policy/users/1.1.0/template.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ spec:
securityContext:
runAsUser: 250
runAsGroup: 250
initContainers:
- name: nginx
image: nginx
securityContext:
runAsUser: 250
runAsGroup: 250
360 changes: 323 additions & 37 deletions library/pod-security-policy/users/template.yaml

Large diffs are not rendered by default.

360 changes: 323 additions & 37 deletions src/pod-security-policy/users/src.cel

Large diffs are not rendered by default.

366 changes: 329 additions & 37 deletions website/docs/validation/users.md

Large diffs are not rendered by default.

0 comments on commit dbba915

Please sign in to comment.