Skip to content

Commit 568894c

Browse files
add pvc component
1 parent c848a9e commit 568894c

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
resources:
5+
- "pvc.yaml"
6+
patches:
7+
- target:
8+
kind: "StatefulSet"
9+
name: "jellyporter"
10+
patch: |-
11+
- op: "test"
12+
path: "/spec/template/spec/volumes/0/name"
13+
value: "data"
14+
- op: "replace"
15+
path: "/spec/template/spec/volumes/0"
16+
value:
17+
name: "data"
18+
persistentVolumeClaim:
19+
claimName: "jellyporter"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
kind: PersistentVolumeClaim
3+
apiVersion: v1
4+
metadata:
5+
name: "jellyporter"
6+
spec:
7+
accessModes:
8+
- ReadWriteOnce
9+
resources:
10+
requests:
11+
storage: 100Mi

apps/jellyporter/statefulset.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ spec:
2727
seccompProfile:
2828
type: RuntimeDefault
2929
containers:
30-
- image: "ghcr.io/soerenschneider/jellyporter:v1.1.0"
30+
- image: "ghcr.io/soerenschneider/jellyporter:main-20250912204714"
31+
command:
32+
- /jellyporter
33+
- run
3134
securityContext:
3235
allowPrivilegeEscalation: false
3336
readOnlyRootFilesystem: true
@@ -42,6 +45,8 @@ spec:
4245
env:
4346
- name: "JELLYPORTER_CONFIG_PATH"
4447
value: "/config/config.yaml"
48+
- name: "SQLITE_TMPDIR"
49+
value: "/data"
4550
imagePullPolicy: IfNotPresent
4651
name: jellyporter
4752
resources:

0 commit comments

Comments
 (0)