cdmikechen opened a new pull request #918: URL: https://github.com/apache/submarine/pull/918
### What is this PR for? Minio initContainer pod always shows that it cannot end correctly in OpenShift. ``` mc: <ERROR> Unable to save new mc config. mkdir /.mc: permission denied. mc: <ERROR> Unable to save new mc config. mkdir /.mc: permission denied. ``` Pod cannot create the specified directory because it is not granted the permission to `runAsAnyuid`. At present, we can create a temporary volume for mc config so that mini can initialize and execute commands correctly. The `mc --config-dir` command part is a reference for https://github.com/helm/charts/pull/20766/files ### What type of PR is it? Bug Fix ### Todos * [x] - Create an empty volume for mc config and set `config-dir` ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-1229 ### How should this be tested? Current, No ### Screenshots (if appropriate) Current, No ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? No * Does this need new documentation? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
