convert to linuxserver image

This commit is contained in:
2024-12-29 23:50:48 -06:00
parent c62868b51d
commit d07a79c1b5
4 changed files with 15 additions and 45 deletions

View File

@@ -28,4 +28,4 @@ dependencies:
version: 4.0.0 version: 4.0.0
repository: http://alexlebens.github.io/helm-charts repository: http://alexlebens.github.io/helm-charts
icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/radarr.png icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/radarr.png
appVersion: 5.16.3.9541 appVersion: 5.16.3

View File

@@ -29,4 +29,4 @@ dependencies:
version: 4.0.0 version: 4.0.0
repository: http://alexlebens.github.io/helm-charts repository: http://alexlebens.github.io/helm-charts
icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/sonarr.png icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/sonarr.png
appVersion: 4.0.11.2680 appVersion: 4.0.11

View File

@@ -23,15 +23,10 @@ spec:
monthly: 2 monthly: 2
yearly: 4 yearly: 4
moverSecurityContext: moverSecurityContext:
runAsUser: 568 runAsUser: 1000
runAsGroup: 568 runAsGroup: 1000
fsGroup: 568 fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch fsGroupChangePolicy: OnRootMismatch
supplementalGroups:
- 44
- 100
- 109
- 65539
copyMethod: Snapshot copyMethod: Snapshot
storageClassName: ceph-block-delete storageClassName: ceph-block-delete
volumeSnapshotClassName: ceph-blockpool-snapshot volumeSnapshotClassName: ceph-blockpool-snapshot

View File

@@ -7,51 +7,26 @@ sonarr4-4k:
revisionHistoryLimit: 3 revisionHistoryLimit: 3
pod: pod:
securityContext: securityContext:
runAsUser: 568 runAsUser: 1000
runAsGroup: 568 runAsGroup: 1000
fsGroup: 568 fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch fsGroupChangePolicy: OnRootMismatch
supplementalGroups:
- 44
- 100
- 109
- 65539
containers: containers:
main: main:
image: image:
repository: ghcr.io/onedr0p/sonarr repository: ghcr.io/linuxserver/sonarr
tag: 4.0.11.2680 tag: 4.0.11@sha256:ca4ad72f07e532d1d414435eb43193d1dc407255e46c21c2694653ca8af4fd81
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
- name: TZ - name: TZ
value: US/Central value: US/Central
- name: SONARR__POSTGRES_MAIN_DB - name: PUID
value: sonarr-main value: 1000
- name: SONARR__POSTGRES_LOG_DB - name: PGID
value: sonarr-log value: 1000
- name: SONARR__POSTGRES_HOST
valueFrom:
secretKeyRef:
name: sonarr4-4k-postgresql-17-cluster-app
key: host
- name: SONARR__POSTGRES_PORT
valueFrom:
secretKeyRef:
name: sonarr4-4k-postgresql-17-cluster-app
key: port
- name: SONARR__POSTGRES_USER
valueFrom:
secretKeyRef:
name: sonarr4-4k-postgresql-17-cluster-app
key: username
- name: SONARR__POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: sonarr4-4k-postgresql-17-cluster-app
key: password
probes: probes:
liveness: liveness:
enabled: false enabled: true
custom: true custom: true
spec: spec:
exec: exec: