# yaml-language-server: $schema=./values.schema.json
image:
  pullPolicy: IfNotPresent
  repository: docker.io/eafxx/traktarr
  tag: latest@sha256:3299915869b66e9ab5d34f454b5d8eae897a837b7dc27624bc7b4925e766a746
persistence:
  config:
    enabled: true
    mountPath: /config

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsGroup: 0
    runAsUser: 0
service:
  main:
    enabled: false
    ports:
      main:
        enabled: false
traktarr:
  app_branch: master
  blacklist: true
  delay: "2.5"
  nosearch: true
  notifications: true
  runnow: false
  skipupdate: true
  sort: rating
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            APP_BRANCH: "{{ .Values.traktarr.app_branch }}"
            BLACKLIST: '{{ ternary "yes" "no" .Values.traktarr.blacklist }}'
            DELAY: "{{ .Values.traktarr.delay }}"
            NOSEARCH: '{{ ternary "yes" "no" .Values.traktarr.nosearch }}'
            NOTIFICATIONS: '{{ ternary "yes" "no" .Values.traktarr.notifications }}'
            RUNNOW: '{{ ternary "yes" "no" .Values.traktarr.runnow }}'
            SKIPUPDATE: '{{ ternary "yes" "no" .Values.traktarr.skipupdate }}'
            SORT: "{{ .Values.traktarr.sort }}"
          probes:
            liveness:
              enabled: false
            readiness:
              enabled: false
            startup:
              enabled: false
