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

Helm test yields security warning #18

Open
guimou opened this issue Jan 18, 2023 · 2 comments
Open

Helm test yields security warning #18

guimou opened this issue Jan 18, 2023 · 2 comments

Comments

@guimou
Copy link

guimou commented Jan 18, 2023

New mlflow deployment using the chart on OpenShift 4.11.
When running helm test mlflow-server, you get:

W0118 15:36:13.595358   80301 warnings.go:70] would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "wget" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "wget" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "wget" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "wget" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")

that keeps repeating.

@strangiato
Copy link
Owner

It looks like it is complaining about the test here:

https://github.com/strangiato/helm-charts/blob/main/charts/mlflow-server/templates/tests/test-connection.yaml

I have run this on 4.10 without any issues in the past so this may be some additional scc restrictions that went into effect on 4.11.

Are you testing this on RHPDS or somewhere else that I would be able to access?

@guimou
Copy link
Author

guimou commented Jan 18, 2023

RHPDS, brand new 4.11. Will send you adress in DM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants