diff --git a/apps-kustomized/radarr/deploy.yaml b/apps-kustomized/radarr/deploy.yaml index 57a5859..6134cf1 100644 --- a/apps-kustomized/radarr/deploy.yaml +++ b/apps-kustomized/radarr/deploy.yaml @@ -29,11 +29,6 @@ spec: requests: cpu: 25m memory: 920733364 - securityContext: - privileged: true - capabilities: - add: - - SYS_ADMIN volumeMounts: - mountPath: /config name: config @@ -41,8 +36,8 @@ spec: name: data - mountPath: /films name: films - - mountPath: /dev/fuse - name: fusedev + - mountPath: /torrents + name: torrents volumes: - name: config persistentVolumeClaim: @@ -53,6 +48,6 @@ spec: - name: data persistentVolumeClaim: claimName: smb-usenet - - name: fusedev - hostPath: - path: /dev/fuse + - name: torrents + persistentVolumeClaim: + claimName: smb-torrents diff --git a/apps-kustomized/radarr/pvc-smb.yaml b/apps-kustomized/radarr/pvc-smb.yaml index 321caba..95b5d0c 100644 --- a/apps-kustomized/radarr/pvc-smb.yaml +++ b/apps-kustomized/radarr/pvc-smb.yaml @@ -21,3 +21,15 @@ spec: requests: storage: 1Gi storageClassName: smb-usenet +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: smb-torrents +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + storageClassName: smb-torrents