laserninja commented on PR #10681: URL: https://github.com/apache/gravitino/pull/10681#issuecomment-4203584924
Replaced hardcoded groupadd -g 1000 / useradd -u 1000 with groupadd -r / useradd -r (system-assigned IDs) in all three Dockerfiles, so dynamic-UID environments work correctly Removed runAsUser: 1000 from Helm securityContext defaults; runAsNonRoot: true is sufficient without pinning a UID Added securityContext: runAsNonRoot: true to all three initContainers (sqlfile, init-mysql, init-postgresql) via a new initContainerSecurityContext value — fixes compatibility with the Kubernetes restricted Pod Security Standard Thanks for the review. -- 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]
