apps/radicale/radicale.yaml (view raw)
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4 name: radicale
5 labels:
6 app: radicale
7spec:
8 selector:
9 matchLabels:
10 app: radicale
11 template:
12 metadata:
13 labels:
14 app: radicale
15 spec:
16 securityContext:
17 fsGroup: 101
18 imagePullSecrets:
19 - name: registry-creds
20 nodeSelector:
21 arch: "amd64"
22 containers:
23 - name: radicale
24 image: reg.icyphox.sh/radicale
25 imagePullPolicy: Always
26 volumeMounts:
27 - name: collections
28 mountPath: "/home/radicale/collections"
29 ports:
30 - name: http
31 containerPort: 5232
32 volumes:
33 - name: collections
34 persistentVolumeClaim:
35 claimName: radicale-collections
36---
37apiVersion: v1
38kind: Service
39metadata:
40 name: radicale
41spec:
42 selector:
43 app: radicale
44 ports:
45 - name: http
46 port: 5232
47 targetPort: 5232