apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: prowlarr
  namespace: streaming
  labels:
    app: prowlarr
    category: streaming
spec:
  serviceName: prowlarr
  replicas: 1
  selector:
    matchLabels:
      app: prowlarr
      category: streaming
  template:
    metadata:
      name: prowlarr
      namespace: streaming
      labels:
        app: prowlarr
        category: streaming
    spec:
      nodeName: nodebook
      containers:
        - name: prowlarr
          image: lscr.io/linuxserver/prowlarr:latest
          imagePullPolicy: Always
          env:
            - name: PUID
              value: "1000"
            - name: PGID
              value: "1000"
            - name: TZ
              value: "Europe/Vienna"
          ports:
            - containerPort: 9696
              name: http
          volumeMounts:
            - mountPath: /config
              name: config
      volumes:
       - name: config
         hostPath: 
          path: /srv/prowlarr