Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicated user declaration / configuration #12

Merged

Conversation

J12934
Copy link
Member

@J12934 J12934 commented Apr 12, 2024

The image is already running as nonroot, specified via the image tag (gcr.io/distroless/static:nonroot) Specifing it here again using the username makes deploying it to kubernetes slightly more annoying as this failed the runAsNonRoot securityContext check as kubernetes can't verify that this is actually non-root as it's not configured via the uid.

The image is already running as nonroot, specified via the image tag (`gcr.io/distroless/static:nonroot`)
Specifing it here again using the username makes deploying it to kubernetes slightly more annoying as this failed the `runAsNonRoot` securityContext check as kubernetes can't verify that this is actually non-root as it's not configured via the uid.

Signed-off-by: Jannik Hollenbach <[email protected]>
@J12934 J12934 self-assigned this Apr 12, 2024
@J12934 J12934 requested a review from Ilyesbdlala April 12, 2024 14:49
@Ilyesbdlala Ilyesbdlala merged commit 7be619f into secureCodeBox:main Apr 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants