Skip to content

Commit f82c00e

Browse files
authored
fix(prowlarr): Grant write permission to config directory (#40)
1 parent 4987624 commit f82c00e

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

base/prowlarr/deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ spec:
1818
securityContext:
1919
fsGroup: 1000
2020
initContainers:
21+
- name: chown
22+
image: busybox
23+
command: ["sh", "-c", "chown -R 1000:1000 /config"]
24+
volumeMounts:
25+
- mountPath: /config
26+
name: htpc-home
27+
subPath: prowlarr
2128
- name: config
2229
image: busybox
2330
securityContext:

install_armhf.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,16 @@ spec:
382382
name: htpc-home
383383
subPath: prowlarr
384384
initContainers:
385+
- command:
386+
- sh
387+
- -c
388+
- chown -R 1000:1000 /config
389+
image: busybox
390+
name: chown
391+
volumeMounts:
392+
- mountPath: /config
393+
name: htpc-home
394+
subPath: prowlarr
385395
- args:
386396
- |
387397
echo 'Customizing Prowlarr config...'

install_x86_64.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,16 @@ spec:
382382
name: htpc-home
383383
subPath: prowlarr
384384
initContainers:
385+
- command:
386+
- sh
387+
- -c
388+
- chown -R 1000:1000 /config
389+
image: busybox
390+
name: chown
391+
volumeMounts:
392+
- mountPath: /config
393+
name: htpc-home
394+
subPath: prowlarr
385395
- args:
386396
- |
387397
echo 'Customizing Prowlarr config...'

0 commit comments

Comments
 (0)