summaryrefslogtreecommitdiff
path: root/f3s/freshrss/helm-chart
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-08 21:37:31 +0300
committerPaul Buetow <paul@buetow.org>2025-08-08 21:37:31 +0300
commit302a2caa47e3fae1b99063e9d8ac851a6f9067b4 (patch)
tree64bf7086263263dab6c84d7ce1238d5a1859277c /f3s/freshrss/helm-chart
parent0373a22bf963f58bfbdc4538219d191cdc7c81c7 (diff)
fix miniflux
Diffstat (limited to 'f3s/freshrss/helm-chart')
-rw-r--r--f3s/freshrss/helm-chart/templates/deployment.yaml12
1 files changed, 8 insertions, 4 deletions
diff --git a/f3s/freshrss/helm-chart/templates/deployment.yaml b/f3s/freshrss/helm-chart/templates/deployment.yaml
index 1277c62..99f114c 100644
--- a/f3s/freshrss/helm-chart/templates/deployment.yaml
+++ b/f3s/freshrss/helm-chart/templates/deployment.yaml
@@ -13,14 +13,19 @@ spec:
labels:
app: freshrss
spec:
+ securityContext:
+ runAsUser: 65534 # nobody
+ runAsGroup: 65534 # nobody / nogroup
+ fsGroup: 65534 # ensure mounted volumes are group-writable
+ runAsNonRoot: true
containers:
- name: freshrss
image: freshrss/freshrss:latest
ports:
- - containerPort: 80
+ - containerPort: 80
volumeMounts:
- - name: freshrss-data
- mountPath: /var/www/FreshRSS/data
+ - name: freshrss-data
+ mountPath: /var/www/FreshRSS/data
volumes:
- name: freshrss-data
persistentVolumeClaim:
@@ -41,4 +46,3 @@ spec:
targetPort: 80
selector:
app: freshrss
-