You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The published hugegraph/pd, hugegraph/store and hugegraph/server images all run their Java process as root: none of the three declares a USER, checked against the current latest image configs on Docker Hub (registry config blob, .config.User empty on all three, 2026-09-17).
Why it matters on Kubernetes:
A namespace under the restricted Pod Security Standard rejects these pods outright (runAsNonRoot != true).
The Helm chart in feat(helm): add HStore deployment chart #3132 cannot set runAsNonRoot: true or readOnlyRootFilesystem: true as defaults; it documents this in its Limitations and ships the remaining hardening it can (allowPrivilegeEscalation: false, capabilities.drop: [ALL], seccompProfile: RuntimeDefault).
Security scanners (kube-score, polaris, kubescape) flag every workload for it, which any adopter evaluating the chart sees on day one; the 2026-09-10 chart test campaign recorded it as a failing kubescape NSA control on both branches.
Proposal:
Create a fixed-UID user in each Dockerfile (the toolchain's Hubble image can follow the same pattern later) and chown the data and log directories to it.
Declare USER in the image and keep the entrypoints from writing outside the data, log and temp directories, so readOnlyRootFilesystem becomes possible as a follow-up.
Ship it in a minor release with an upgrade note: existing PVC data written as root needs a one-time chown, or an initContainer / fsGroup note in the chart.
The chart side is ready to adopt this the release it lands: podSecurityContext and securityContext are fully configurable per component today, so only the defaults would change.
Feature Description (功能描述)
The published
hugegraph/pd,hugegraph/storeandhugegraph/serverimages all run their Java process as root: none of the three declares aUSER, checked against the currentlatestimage configs on Docker Hub (registry config blob,.config.Userempty on all three, 2026-09-17).Why it matters on Kubernetes:
restrictedPod Security Standard rejects these pods outright (runAsNonRoot != true).runAsNonRoot: trueorreadOnlyRootFilesystem: trueas defaults; it documents this in its Limitations and ships the remaining hardening it can (allowPrivilegeEscalation: false,capabilities.drop: [ALL],seccompProfile: RuntimeDefault).Proposal:
chownthe data and log directories to it.USERin the image and keep the entrypoints from writing outside the data, log and temp directories, soreadOnlyRootFilesystembecomes possible as a follow-up.chown, or an initContainer /fsGroupnote in the chart.The chart side is ready to adopt this the release it lands:
podSecurityContextandsecurityContextare fully configurable per component today, so only the defaults would change.