apiVersion: v1 kind: Service metadata: name: prowlarr namespace: pvr spec: ports: - protocol: TCP name: web port: 9696 selector: app: prowlarr --- apiVersion: apps/v1 kind: Deployment metadata: name: prowlarr namespace: pvr labels: app: prowlarr spec: replicas: 1 selector: matchLabels: app: prowlarr template: metadata: labels: app: prowlarr spec: containers: - name: prowlarr image: bv11-cr01.bessems.eu/proxy/linuxserver/prowlarr:develop imagePullPolicy: Always ports: - name: web containerPort: 9696 volumeMounts: - mountPath: /config name: flexvolsmb-prowlarr-config volumes: - name: flexvolsmb-prowlarr-config persistentVolumeClaim: claimName: flexvolsmb-prowlarr-config --- apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: prowlarr namespace: pvr spec: entryPoints: - websecure routes: - match: Host(`index.pvr.spamasaurus.com`) kind: Rule services: - name: prowlarr port: 9696 middlewares: - name: 2fa-authentication@file - name: security-headers@file - name: compression@file tls: options: name: defaults@file certResolver: default domains: - main: '*.pvr.spamasaurus.com' sans: - 'pvr.spamasaurus.com' --- apiVersion: v1 kind: PersistentVolume metadata: name: flexvolsmb-prowlarr-config namespace: pvr spec: capacity: storage: 1Gi accessModes: - ReadWriteMany storageClassName: flexvolsmb-prowlarr-config flexVolume: driver: mount/smb secretRef: name: smb-secret options: opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,uid=1000,gid=1000,iocharset=utf8,nobrl server: 192.168.11.225 share: /K3s.Volumes/prowlarr/config --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: flexvolsmb-prowlarr-config namespace: pvr spec: accessModes: - ReadWriteMany storageClassName: flexvolsmb-prowlarr-config resources: requests: storage: 1Gi