persistence

This commit is contained in:
Joseph Hanson 2024-07-25 18:41:40 -05:00
parent 50dcd9bc5e
commit 2305c5638c
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
4 changed files with 7 additions and 10 deletions

View file

@ -55,14 +55,6 @@ spec:
drop: drop:
- ALL - ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
statefulset:
podManagementPolicy: Parallel
volumeClaimTemplates:
- accessMode: ReadWriteOnce
globalMounts:
- path: /usr/lib/jellyseerr/config
name: config
size: 1Mi
type: statefulset type: statefulset
defaultPodOptions: defaultPodOptions:
securityContext: securityContext:
@ -91,3 +83,7 @@ spec:
ports: ports:
http: http:
port: 5055 port: 5055
persistence:
config:
enabled: true
existingClaim: radarr

View file

@ -5,3 +5,4 @@ kind: Kustomization
resources: resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ../../../../templates/volsync

View file

@ -21,9 +21,8 @@ spec:
- name: openebs - name: openebs
- name: crunchy-postgres-operator - name: crunchy-postgres-operator
- name: external-secrets-stores - name: external-secrets-stores
- name: volsync
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 1Gi VOLSYNC_CAPACITY: 1Gi
APP_GID: "1000"
APP_UID: "1000"

View file

@ -14,6 +14,7 @@ spec:
- name: crunchy-postgres-operator - name: crunchy-postgres-operator
- name: external-secrets-stores - name: external-secrets-stores
- name: openebs - name: openebs
- name: volsync
path: ./kubernetes/apps/default/radarr/app path: ./kubernetes/apps/default/radarr/app
prune: true prune: true
sourceRef: sourceRef: