Skip to content

Commit

Permalink
fix: change user/group from 568 to 1000 on nas apps
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Dec 13, 2024
1 parent 40c90ec commit 980efab
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 44 deletions.
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/bazarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/cross-seed/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/filebrowser/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/pinchflat/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [44]
seccompProfile: { type: RuntimeDefault }
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/plex/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [44]
seccompProfile: { type: RuntimeDefault }
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/qbittorrent/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
runAsUser: 1000
runAsGroup: 1000
seccompProfile: { type: RuntimeDefault }
persistence:
secret-file:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/radarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/sabnzbd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/slskd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/sonarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/main/apps/default/unpackerr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ spec:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
service:
Expand Down
12 changes: 6 additions & 6 deletions kubernetes/shared/templates/volsync/nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ spec:
storageClassName: "${VOLSYNC_STORAGECLASS:-ceph-block}"
accessModes: ["${VOLSYNC_SNAP_ACCESSMODES:-ReadWriteOnce}"]
moverSecurityContext:
runAsUser: ${VOLSYNC_PUID:-568}
runAsGroup: ${VOLSYNC_PGID:-568}
fsGroup: ${VOLSYNC_PGID:-568}
runAsUser: ${VOLSYNC_PUID:-1000}
runAsGroup: ${VOLSYNC_PGID:-1000}
fsGroup: ${VOLSYNC_PGID:-1000}
retain:
hourly: 24
daily: 7
Expand All @@ -67,9 +67,9 @@ spec:
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
capacity: "${VOLSYNC_CAPACITY:-5Gi}"
moverSecurityContext:
runAsUser: ${VOLSYNC_PUID:-568}
runAsGroup: ${VOLSYNC_PGID:-568}
fsGroup: ${VOLSYNC_PGID:-568}
runAsUser: ${VOLSYNC_PUID:-1000}
runAsGroup: ${VOLSYNC_PGID:-1000}
fsGroup: ${VOLSYNC_PGID:-1000}
enableFileDeletion: true
cleanupCachePVC: true
cleanupTempPVC: true
6 changes: 3 additions & 3 deletions kubernetes/shared/templates/volsync/r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ spec:
storageClassName: "${VOLSYNC_STORAGECLASS:-ceph-block}"
accessModes: ["${VOLSYNC_SNAP_ACCESSMODES:-ReadWriteOnce}"]
moverSecurityContext:
runAsUser: ${VOLSYNC_PUID:-568}
runAsGroup: ${VOLSYNC_PGID:-568}
fsGroup: ${VOLSYNC_PGID:-568}
runAsUser: ${VOLSYNC_PUID:-1000}
runAsGroup: ${VOLSYNC_PGID:-1000}
fsGroup: ${VOLSYNC_PGID:-1000}
retain:
daily: 7

0 comments on commit 980efab

Please sign in to comment.