Skip to content

Commit

Permalink
fix transmission whitelist errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fabito committed Apr 13, 2021
1 parent 3cb05b8 commit 4fd79a6
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 50 deletions.
36 changes: 20 additions & 16 deletions base/transmission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@ spec:
- mountPath: /watch
name: htpc-home
subPath: watch
- name: setup-transmission
image: busybox
securityContext:
runAsUser: 1000
runAsGroup: 1000
command:
- sh
- -c
- |
echo Saving settings.json
echo '{"download-dir": "/downloads", "rpc-whitelist-enabled": false, "rpc-host-whitelist-enabled": false}' > /config/settings.json;
echo settings.json successfully saved
volumeMounts:
- mountPath: /config
name: htpc-home
subPath: transmission
# - name: setup-transmission
# image: busybox
# securityContext:
# runAsUser: 1000
# runAsGroup: 1000
# command:
# - sh
# - -c
# - |
# echo Saving settings.json
# echo '{"download-dir": "/downloads", "rpc-whitelist-enabled": false, "rpc-host-whitelist-enabled": false}' > /config/settings.json;
# echo settings.json successfully saved
# volumeMounts:
# - mountPath: /config
# name: htpc-home
# subPath: transmission
containers:
- name: transmission
image: linuxserver/transmission
Expand All @@ -71,6 +71,10 @@ spec:
value: "1000"
- name: PGID
value: "1000"
- name: WHITELIST
value: ""
- name: HOST_WHITELIST
value: ""
ports:
- containerPort: 9091
name: webui
Expand Down
20 changes: 4 additions & 16 deletions install_armhf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@ spec:
value: "1000"
- name: PGID
value: "1000"
- name: WHITELIST
value: ""
- name: HOST_WHITELIST
value: ""
image: linuxserver/transmission:arm32v6-latest
name: transmission
ports:
Expand Down Expand Up @@ -587,22 +591,6 @@ spec:
- mountPath: /watch
name: htpc-home
subPath: watch
- command:
- sh
- -c
- |
echo Saving settings.json
echo '{"download-dir": "/downloads", "rpc-whitelist-enabled": false, "rpc-host-whitelist-enabled": false}' > /config/settings.json;
echo settings.json successfully saved
image: busybox
name: setup-transmission
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /config
name: htpc-home
subPath: transmission
securityContext:
fsGroup: 1000
volumes:
Expand Down
22 changes: 5 additions & 17 deletions install_x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,11 @@ spec:
value: "1000"
- name: PGID
value: "1000"
image: linuxserver/transmission:3.00-r2-ls80
- name: WHITELIST
value: ""
- name: HOST_WHITELIST
value: ""
image: linuxserver/transmission:3.00-r2-ls83
name: transmission
ports:
- containerPort: 9091
Expand Down Expand Up @@ -587,22 +591,6 @@ spec:
- mountPath: /watch
name: htpc-home
subPath: watch
- command:
- sh
- -c
- |
echo Saving settings.json
echo '{"download-dir": "/downloads", "rpc-whitelist-enabled": false, "rpc-host-whitelist-enabled": false}' > /config/settings.json;
echo settings.json successfully saved
image: busybox
name: setup-transmission
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /config
name: htpc-home
subPath: transmission
securityContext:
fsGroup: 1000
volumes:
Expand Down
2 changes: 1 addition & 1 deletion overlays/x86/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ images:
- name: linuxserver/bazarr
newTag: v0.9.2-ls106
- name: linuxserver/transmission
newTag: 3.00-r2-ls80
newTag: 3.00-r2-ls83
- name: emby/embyserver
newTag: "4.6.0.30"
- name: linuxserver/jellyfin
Expand Down

0 comments on commit 4fd79a6

Please sign in to comment.