image:
  repository: tccr.io/truecharts/youtubedl-material
  tag: v4.3@sha256:52ea916289823f2d239f1b375f9afbe4a075416c22020fc9e9765422ef58f7c9
  pullPolicy: IfNotPresent
security:
  PUID: 1000
service:
  main:
    ports:
      main:
        port: 10253
persistence:
  appdata:
    enabled: true
    mountPath: /app/appdata
  users:
    enabled: true
    mountPath: /app/users
  subscriptions:
    enabled: true
    mountPath: /app/subscriptions
  audio:
    enabled: true
    mountPath: /app/audio
  video:
    enabled: true
    mountPath: /app/video
mongodb:
  enabled: true
  # DB name seems to be hardcoded in their app
  mongodbUsername: ytdl_material
  mongodbDatabase: ytdl_material
portal:
  open:
    enabled: true
securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsNonRoot: false
    runAsUser: 0
    runAsGroup: 0
    fsGroup: 1000
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            ytdl_mongodb_connection_string:
              secretKeyRef:
                expandObjectName: false
                name: '{{ printf "%s-%s" .Release.Name "mongodbcreds" }}'
                key: url
            ytdl_port: "{{ .Values.service.main.ports.main.port }}"
            ytdl_use_local_db: false
            ALLOW_CONFIG_MUTATIONS: true
            write_ytdl_config: true
            # Used Defined
            ytdl_url: ""
            ytdl_multi_user_mode: false
            ytdl_allow_subscriptions: true
            ytdl_subscriptions_check_interval: 86400
            ytdl_subscriptions_redownload_fresh_uploads: false
            ytdl_allow_theme_change: true
            ytdl_default_theme: default
            ytdl_title_top: YoutubeDL-Material
            ytdl_file_manager_enabled: true
            ytdl_enable_downloads_manager: true
            ytdl_allow_quality_select: true
            ytdl_download_only_mode: false
            ytdl_use_api_key: false
            ytdl_api_key: ""
            ytdl_youtube_api_key: ""
            ytdl_use_twitch_api: false
            ytdl_twitch_api_key: ""
            ytdl_twitch_auto_download_chat: false
            ytdl_use_sponsorblock_api: false
            ytdl_generate_nfo_files: false
            ytdl_default_file_output: ""
            ytdl_custom_args: ""
            ytdl_allow_playlist_categorization: true
            ytdl_use_youtubedl_archive: false
            ytdl_include_thumbnail: true
            ytdl_include_metadata: true
            ytdl_max_concurrent_downloads: 5
            ytdl_download_rate_limit: ""
            ytdl_default_downloader: yt-dlp
            ytdl_use_default_downloading_agent: true
            ytdl_custom_downloading_agent: ""
            ytdl_logger_level: debug
            ytdl_jwt_expiration: 86400
            ytdl_allow_advanced_download: false
            ytdl_use_cookies: false
