diff options
author | 2024-02-05 01:11:53 +0100 | |
---|---|---|
committer | 2024-02-04 21:32:42 -0800 | |
commit | 552fb3e4cc2e00e755c20050a701a187ba9c9161 (patch) | |
tree | ae8d4bbbc53419c81159b1d03bcaedd30d191b4c /internal/ui/static/js/touch_handler.js | |
parent | 7d9f174b3f296b4ac2a359acda72ce8b6fa15c09 (diff) | |
download | v2-552fb3e4cc2e00e755c20050a701a187ba9c9161.tar.gz v2-552fb3e4cc2e00e755c20050a701a187ba9c9161.tar.zst v2-552fb3e4cc2e00e755c20050a701a187ba9c9161.zip |
Fix non-numeric UID
This patch adjusts the distroless image to use the predefined non-root UID, which uses explicit UID definitions. This allows orchestrators like Kubernetes to validate non-zero UIDs directly by checking the Image metadata.
The previous setup without an explicit `runAsUser` in the securityContext would produce the following error when enabling `runAsNonRoot`:
```
Error: container has runAsNonRoot and image has non-numeric user (nonroot), cannot verify user is non-root (pod: "miniflux-97cc5955f-pt7vf_miniflux(d1c56d29-ea0a-407c-b3f3-9821fbd7ee61)", container: miniflux)
```
Diffstat (limited to 'internal/ui/static/js/touch_handler.js')
0 files changed, 0 insertions, 0 deletions