apiVersion: apps/v1 kind: Deployment metadata: name: radicale namespace: services spec: replicas: 1 selector: matchLabels: app: radicale template: metadata: labels: app: radicale spec: containers: - name: radicale image: registry.lan.buetow.org:30001/radicale:latest ports: - containerPort: 8080 volumeMounts: - name: radicale-collections mountPath: /collections - name: radicale-auth mountPath: /auth volumes: - name: radicale-collections persistentVolumeClaim: claimName: radicale-collections-pvc - name: radicale-auth persistentVolumeClaim: claimName: radicale-auth-pvc --- apiVersion: v1 kind: Service metadata: labels: app: radicale name: radicale-service namespace: services spec: ports: - name: web port: 80 protocol: TCP targetPort: 8080 selector: app: radicale