apiVersion: apps/v1
kind: Deployment
metadata:
  name: homebox
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: homebox
      app.kubernetes.io/part-of: homebox
  template:
    metadata:
      labels:
        app.kubernetes.io/name: homebox
        app.kubernetes.io/part-of: homebox
    spec:
      containers:
      - image: ghcr.io/hay-kot/homebox:v0.10.1-rootless
        name: homebox
        ports:
        - containerPort: 7745
          name: http
          protocol: TCP
        env:
        - name: HBOX_LOG_LEVEL
          value: debug
        - name: HBOX_LOG_FORMAT
          value: json
        resources:
          limits:
            cpu: 2000m
            memory: 1024Mi
          requests:
            cpu: 100m
            memory: 512Mi
