image:
  repository: tccr.io/truecharts/midarr-server
  tag: v3.1.0@sha256:5d85789b1a43cd6f7b133ae129d9f1dae4b97773e6c9f54b48094b1c86b47422
  pullPolicy: IfNotPresent

securityContext:
  container:
    runAsNonRoot: false
    readOnlyRootFilesystem: false
    runAsUser: 0
    runAsGroup: 0

service:
  main:
    ports:
      main:
        port: 10347
        targetPort: 4000

midarr:
  admin:
    mail: admin@example.com
    name: admin
    pass: password
  general:
    app_url: http://localhost:4000
    app_mailer_from: midarr@example.com
    sendgrid_api_key: ""
  radarr:
    base_url: ""
    api_key: ""
  sonarr:
    base_url: ""
    api_key: ""

workload:
  main:
    podSpec:
      containers:
        main:
          command:
            - sh
            - -c
            - chmod u+x entry-local.sh && ./entry-local.sh
          envFrom:
            - secretRef:
                name: "midarr-secrets"

cnpg:
  main:
    enabled: true
    user: midarr
    database: midarr

portal:
  open:
    enabled: true
