Skip to content

Commit

Permalink
Merge pull request #88 from josselin-c/originmaster
Browse files Browse the repository at this point in the history
README: add documentation for running containers as non-root
  • Loading branch information
jqmichael authored Oct 27, 2020
2 parents d808b78 + 3102335 commit 44b8ebd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ Or for Kubernetes 1.14+
[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc.html
[2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html

### Usage with non-root container user

When running a container with a non-root user, you need to give the container access to the token file by setting the `fsGroup` field in the `securityContext` object.

## Usage

```
Expand Down

0 comments on commit 44b8ebd

Please sign in to comment.