K-A1 · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts)
nginx temp and cache paths to emptyDir; documented.
Done when
Runs read-only under Pod Security restricted
Depends on: S2
**K-A1** · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts)
nginx temp and cache paths to emptyDir; documented.
**Done when**
- Runs read-only under Pod Security restricted
**Depends on:** S2
jcoffey-dev
added this to the 27.1 milestone 2026-11-18 05:14:42 +00:00
Found while testing (spike S2): the console image exits under a read-only root filesystem. Two startup scripts write into the image:
docker/listen-ipv6.sh (11-listen-ipv6) rewrites /etc/nginx/conf.d/default.conf to add the IPv6 listener.
docker/entrypoint.sh (40-api-base-url) rewrites index.html with the API base URL.
So this is a code change, not just mounts (resizing to M). Likely shape: render both into an emptyDir at start (e.g. /tmp/nginx/) and point nginx's include and root at it, or serve the API base URL from a small generated config.js in the emptyDir instead of editing index.html. Keep plain Docker behaviour the same.
Found while testing (spike S2): the console image exits under a read-only root filesystem. Two startup scripts write into the image:
- `docker/listen-ipv6.sh` (11-listen-ipv6) rewrites `/etc/nginx/conf.d/default.conf` to add the IPv6 listener.
- `docker/entrypoint.sh` (40-api-base-url) rewrites `index.html` with the API base URL.
So this is a code change, not just mounts (resizing to M). Likely shape: render both into an emptyDir at start (e.g. `/tmp/nginx/`) and point nginx's include and root at it, or serve the API base URL from a small generated `config.js` in the emptyDir instead of editing `index.html`. Keep plain Docker behaviour the same.
jcoffey-dev
self-assigned this 2026-11-18 06:28:50 +00:00
Shipped in 27.1-rc.20 (e4c2a68). The startup scripts render the listener and index.html into /tmp/inbuxa-admin, and nginx caches in /var/cache/nginx. The chart gives both an emptyDir.
Proven under Pod Security restricted, enforced, on the kind lab (inbuxa/inbuxa-charts#21, inbuxa/inbuxa-k8s-lab#22): the console pods were re-admitted, they run with a read-only root, and the console sign-in test passes.
Shipped in 27.1-rc.20 (e4c2a68). The startup scripts render the listener and `index.html` into `/tmp/inbuxa-admin`, and nginx caches in `/var/cache/nginx`. The chart gives both an emptyDir.
Proven under Pod Security restricted, enforced, on the kind lab (inbuxa/inbuxa-charts#21, inbuxa/inbuxa-k8s-lab#22): the console pods were re-admitted, they run with a read-only root, and the console sign-in test passes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
K-A1 · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts)
nginx temp and cache paths to emptyDir; documented.
Done when
Depends on: S2
Found while testing (spike S2): the console image exits under a read-only root filesystem. Two startup scripts write into the image:
docker/listen-ipv6.sh(11-listen-ipv6) rewrites/etc/nginx/conf.d/default.confto add the IPv6 listener.docker/entrypoint.sh(40-api-base-url) rewritesindex.htmlwith the API base URL.So this is a code change, not just mounts (resizing to M). Likely shape: render both into an emptyDir at start (e.g.
/tmp/nginx/) and point nginx's include and root at it, or serve the API base URL from a small generatedconfig.jsin the emptyDir instead of editingindex.html. Keep plain Docker behaviour the same.Folded into the checklist on inbuxa/inbuxa-charts#14 to keep the issue list short. The details stay here; reopen this when work on it starts.
Reopened: work on this is in progress.
Shipped in 27.1-rc.20 (
e4c2a68). The startup scripts render the listener andindex.htmlinto/tmp/inbuxa-admin, and nginx caches in/var/cache/nginx. The chart gives both an emptyDir.Proven under Pod Security restricted, enforced, on the kind lab (inbuxa/inbuxa-charts#21, inbuxa/inbuxa-k8s-lab#22): the console pods were re-admitted, they run with a read-only root, and the console sign-in test passes.