From c70d5d28dd2557a9a8318cffe6aa5ef6ed20a552 Mon Sep 17 00:00:00 2001 From: Lawrence curtis Date: Sun, 19 May 2024 12:29:26 +0100 Subject: [PATCH] Allow fileflows to escalate priviledge so that it can install dockermods (#22231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** The latest update to FileFlows includes an incredible new feature called DockerMods, this allows you to install the packages you need rather than keeping the base image huge. However because of this some privileged's need to be increased. https://fileflows.com/docs/webconsole/extensions/dockermods **โš™๏ธ Type of change** - [ ] โš™๏ธ Feature/App addition - [x] ๐Ÿช› Bugfix - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] ๐Ÿ”ƒ Refactor of current code **๐Ÿงช How Has This Been Tested?** I do not run truenas myself, however I do run kuberentes and can confirm that these changes are required as your defaults noted here https://truecharts.org/common/securitycontext/ are not compatible **โœ”๏ธ Checklist:** - [x] โš–๏ธ My code follows the style guidelines of this project - [x] ๐Ÿ‘€ I have performed a self-review of my own code - [ ] #๏ธโƒฃ I have commented my code, particularly in hard-to-understand areas - [ ] ๐Ÿ“„ I have made corresponding changes to the documentation - [x] โš ๏ธ My changes generate no new warnings - [ ] ๐Ÿงช I have added tests to this description that prove my fix is effective or that my feature works - [ ] โฌ†๏ธ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` --- charts/stable/fileflows/Chart.yaml | 2 +- charts/stable/fileflows/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/stable/fileflows/Chart.yaml b/charts/stable/fileflows/Chart.yaml index 55ec5e7516f..3235faec0d5 100644 --- a/charts/stable/fileflows/Chart.yaml +++ b/charts/stable/fileflows/Chart.yaml @@ -33,4 +33,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/fileflows - https://hub.docker.com/r/revenz/fileflows type: application -version: 11.1.0 +version: 11.1.1 diff --git a/charts/stable/fileflows/values.yaml b/charts/stable/fileflows/values.yaml index 3ef09aaf22a..800bc6c3428 100644 --- a/charts/stable/fileflows/values.yaml +++ b/charts/stable/fileflows/values.yaml @@ -8,6 +8,8 @@ securityContext: runAsNonRoot: false runAsUser: 0 runAsGroup: 0 + allowPrivilegeEscalation: true + privileged: true workload: main: podSpec: