laserninja opened a new pull request, #10681: URL: https://github.com/apache/gravitino/pull/10681
## What changes were proposed in this pull request? Modifies the three production Dockerfiles to run as a dedicated non-root `gravitino` user (UID 1000) instead of `root`, and updates all Helm chart configuration to match the new paths. **Dockerfiles changed:** - `dev/docker/gravitino/Dockerfile` - `dev/docker/iceberg-rest-server/Dockerfile` - `dev/docker/lance-rest-server/Dockerfile` **Helm charts updated:** - `dev/charts/gravitino/` (templates + values) - `dev/charts/gravitino-iceberg-rest-server/` (templates + values) - `dev/charts/gravitino-lance-rest-server/` (templates + values) - `dev/charts/gravitino/resources/scenarios/ci-values.yaml` ## Why are the changes needed? Fixes #10633. Running containers as `root` is a security concern in production environments and prevents deployment on hardened Kubernetes clusters or OpenShift platforms that enforce non-root container policies. ## How was this patch tested? The changes are limited to Dockerfiles and Helm chart configuration. No Java code was modified. The diff was manually reviewed for correctness. - [ ] Existing tests pass (no Java changes) - [ ] Dockerfile security: containers now run as UID 1000 (`gravitino` user) - [ ] Helm charts: `runAsNonRoot: true`, `runAsUser: 1000` in container security contexts - [ ] All `/root/gravitino*` paths updated to `/opt/gravitino*` -- 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]
