byteayan opened a new pull request, #544:
URL: https://github.com/apache/hugegraph-doc/pull/544
## Purpose of the PR
- link apache/hugegraph#3381 (closes apache/hugegraph#3211)
apache/hugegraph#3381 makes the PD, Store and Server images run as the
non-root user `hugegraph` (UID/GID `10001`). The website quickstarts bind-mount
host
directories and upgrade existing Helm releases in ways that now need an
extra step, so this is the paired documentation PR for it. Changes apply to the
`latest` (master) docs only; released 1.7 images still run as root.
## Main Changes
English and Chinese:
- `quickstart/hugegraph/hugegraph-pd.md`, `hugegraph-hstore.md`: the
master-built `docker run` examples create the bind-mounted data directory and
`chown` it to `10001:10001` first.
- `quickstart/hugegraph/hugegraph-server.md`: a mounted preload script must
be readable by UID `10001` with master-built images.
- `guides/hugegraph-docker-cluster.md`: new troubleshooting entry for
`Permission denied` after upgrading, with the one-time `chown` for volumes
written
by older root images and the Compose `down` / `up -d --renew-anon-volumes`
caveat.
- `quickstart/hugegraph/hugegraph-helm.md` (5 Upgrade and verification):
`--reuse-values` keeps an existing release's empty `podSecurityContext`, so set
`fsGroup: 10001` for PD and Store explicitly; `OnRootMismatch`, NFS and
`hostPath` caveats.
## Verifying these changes
- `bash dist/validate-links.sh` passes; `git diff --check` is clean; new
prose is wrapped at 160 characters.
- Not built locally with Hugo.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]