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 Center images require root to run #38

Open
mkborland opened this issue Oct 11, 2024 · 0 comments
Open

Security Center images require root to run #38

mkborland opened this issue Oct 11, 2024 · 0 comments

Comments

@mkborland
Copy link

Im trying to deploy the Security Center helm chart in a cluster that requires containers to be non-root.
I tried changing the Security Center securityContext to non-root (1000:1000) and it failed with permission denied.

sc-runtime-container logs:

/scbase/SecurityCenter: line 33: /opt/sc/.scenv: No such file or directory                                                                                                                                                                                                                                                                                                                                                                                
Checking for SecurityCenter upgrade in progress:                                                                                                                                                                                                                                                                                                                                                                                                          
Checking for active migration:                                                                                                                                                                                                                                                                                                                                                                                                                            
/bin/bash: line 1: /support/bin/php: No such file or directory                                                                                                                                                                                                                                                                                                                                                                                            
Installing software updates if availableError installing software updates.                                                                                                                                                                                                                                                                                                                                                                                
[FAILED]                                                                                                                                                                                                                                                                                                                                                                                                                                                  
/etc/ssh/sshd_config: Permission denied 

Is there a way to run this without root or is it required?

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

1 participant