feat: update security policy to use provided user, group, and fsgroup (#82)
## Description When establishing the security context for a pod, Pepr security policy will look for labels to specify the runAsUser, runAsGroup, and/or fsGroup and use those values. ## Related Issue ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [ ] Test, docs, adr added or updated as needed - [ ] [Contributor Guide Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request ) followed --------- Co-authored-by:Micah Nagel <micah.nagel@defenseunicorns.com>
Showing
- .github/actions/setup/action.yaml 1 addition, 1 deletion.github/actions/setup/action.yaml
- .vscode/settings.json 2 additions, 2 deletions.vscode/settings.json
- bundles/k3d-istio/uds-bundle.yaml 1 addition, 1 deletionbundles/k3d-istio/uds-bundle.yaml
- bundles/k3d-standard/uds-bundle.yaml 1 addition, 1 deletionbundles/k3d-standard/uds-bundle.yaml
- src/policies/security.ts 19 additions, 0 deletionssrc/policies/security.ts
Loading
Please register or sign in to comment