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

Security context violation of health-check and conn-check #110

Open
sunya-ch opened this issue May 22, 2023 · 0 comments
Open

Security context violation of health-check and conn-check #110

sunya-ch opened this issue May 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sunya-ch
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Need to fix the following warning for supplementary tools (health checker, connection check)

Warning: would violate PodSecurity “restricted:latest”: allowPrivilegeEscalation != false (container “checker” must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container “checker” must set securityContext.capabilities.drop=[“ALL”]), runAsNonRoot != true (pod or container “checker” must set securityContext.runAsNonRoot=true), seccompProfile (pod or container “checker” must set securityContext.seccompProfile.type to “RuntimeDefault” or “Localhost”)

Warning: would violate PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "server" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "server" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "server" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "server" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@sunya-ch sunya-ch added the enhancement New feature or request label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant