From 29199446d07858e62d15dd24d40be1437e5e5771 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Mon, 8 Aug 2022 12:21:39 +0200 Subject: Add mylar to hurzak for testing purposes --- .../hurzak.tyil.net/kustomization.yaml | 2 +- .../hurzak.tyil.net/mylar/configmap.yaml | 449 +++++++++++++++++++++ .../hurzak.tyil.net/mylar/deployment.yaml | 35 ++ .../hurzak.tyil.net/mylar/ingress.yaml | 20 + .../hurzak.tyil.net/mylar/kustomization.yaml | 8 + .../hurzak.tyil.net/mylar/service.yaml | 17 + 6 files changed, 530 insertions(+), 1 deletion(-) create mode 100644 playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/configmap.yaml create mode 100644 playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/deployment.yaml create mode 100644 playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/ingress.yaml create mode 100644 playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/kustomization.yaml create mode 100644 playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/service.yaml (limited to 'playbooks.d/k3s-master') diff --git a/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/kustomization.yaml b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/kustomization.yaml index 8020a53..1ff604e 100644 --- a/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/kustomization.yaml +++ b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/kustomization.yaml @@ -2,5 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: -- public-services +- mylar ... diff --git a/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/configmap.yaml b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/configmap.yaml new file mode 100644 index 0000000..d31a05b --- /dev/null +++ b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/configmap.yaml @@ -0,0 +1,449 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: mylar + namespace: servarr +data: + config.ini: | + [Git] + git_branch = master + git_path = None + git_user = mylar3 + git_token = None + check_github = False + check_github_on_startup = False + + [General] + auto_update = False + cache_dir = None + dynamic_update = 4 + refresh_cache = 7 + annuals_on = False + syno_fix = False + launch_browser = False + wanted_tab_off = False + enable_rss = False + search_delay = 1 + grabbag_dir = None + highcount = 0 + maintainseriesfolder = False + destination_dir = None + multiple_dest_dirs = None + create_folders = True + delete_remove_dir = False + upcoming_snatched = True + update_ended = False + folder_scan_log_verbose = False + interface = carbon + correct_metadata = False + move_files = False + rename_files = False + folder_format = $Series ($Year) + file_format = $Series $Annual $Issue ($Year) + replace_spaces = False + replace_char = None + zero_level = False + zero_level_n = None + lowercase_filenames = False + ignore_havetotal = False + ignore_total = False + ignore_covers = True + snatched_havetotal = False + failed_download_handling = False + failed_auto = False + preferred_quality = 0 + use_minsize = False + minsize = None + use_maxsize = False + maxsize = None + autowant_upcoming = True + autowant_all = False + comic_cover_local = False + series_metadata_local = False + seriesjson_file_priority = False + cover_folder_local = False + add_to_csv = True + skipped2wanted = False + read2filename = False + send2read = False + nzb_startup_search = False + unicode_issuenumber = False + alternate_latest_series_covers = False + show_icons = False + format_booktype = False + cleanup_cache = False + secure_dir = None + encrypt_passwords = False + backup_on_start = False + backup_location = None + backup_retention = 4 + backfill_length = 8 + backfill_timespan = 10 + problem_dates = ["2021-07-14 04:00:34"] + problem_dates_seconds = 60 + default_dates = store_date + scan_on_series_changes = True + clear_provider_table = False + config_version = 12 + + [Update] + newcom_dir = None + fftonewcom_dir = False + locmove = False + + [PostProcess] + folder_cache_location = None + post_processing = False + file_opts = move + snatchedtorrent_notify = False + local_torrent_pp = False + post_processing_script = None + pp_shell_location = None + enable_extra_scripts = False + es_shell_location = None + extra_scripts = None + enable_snatch_script = False + snatch_shell_location = None + snatch_script = None + enable_pre_scripts = False + pre_shell_location = None + pre_scripts = None + enable_check_folder = False + check_folder = None + manual_pp_folder = None + + [Scheduler] + rss_checkinterval = 20 + search_interval = 360 + download_scan_interval = 5 + check_github_interval = 360 + blocklist_timer = 3600 + + [Weekly] + alt_pull = 2 + pull_refresh = None + weekfolder = False + weekfolder_loc = None + weekfolder_format = 0 + indie_pub = 75 + biggie_pub = 55 + pack_0day_watchlist_only = True + reset_pullist_pagination = True + mass_publishers = [] + auto_mass_add = False + + [Interface] + http_port = 8090 + http_host = 0.0.0.0 + http_username = None + http_password = None + http_root = / + enable_https = False + https_cert = None + https_key = None + https_chain = None + https_force_on = False + host_return = None + authentication = 0 + login_timeout = 43800 + alphaindex = True + cherrypy_logging = False + + [API] + api_enabled = False + api_key = None + + [CV] + cvapi_rate = 2 + comicvine_api = None + ignored_publishers = + cv_verify = True + cv_only = True + cv_onetimer = True + cvinfo = False + cv_user_agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246 + + [Logs] + log_dir = None + max_logsize = 10000000 + max_logfiles = 5 + log_level = 1 + + [Perms] + enforce_perms = True + chmod_dir = 0777 + chmod_file = 0660 + chowner = None + chgroup = None + + [Import] + add_comics = False + comic_dir = None + imp_move = False + imp_paths = False + imp_rename = False + imp_metadata = False + imp_seriesfolders = True + + [Duplicates] + dupeconstraint = filesize + ddump = False + duplicate_dump = None + duplicate_dated_folders = False + + [Prowl] + prowl_enabled = False + prowl_priority = 0 + prowl_keys = None + prowl_onsnatch = False + + [PUSHOVER] + pushover_enabled = False + pushover_priority = 0 + pushover_apikey = None + pushover_device = None + pushover_userkey = None + pushover_onsnatch = False + pushover_image = False + + [BOXCAR] + boxcar_enabled = False + boxcar_onsnatch = False + boxcar_token = None + + [PUSHBULLET] + pushbullet_enabled = False + pushbullet_apikey = None + pushbullet_deviceid = None + pushbullet_channel_tag = None + pushbullet_onsnatch = False + + [TELEGRAM] + telegram_enabled = False + telegram_token = None + telegram_userid = None + telegram_onsnatch = False + telegram_image = False + + [SLACK] + slack_enabled = False + slack_webhook_url = None + slack_onsnatch = False + + [MATTERMOST] + mattermost_enabled = False + mattermost_webhook_url = None + mattermost_onsnatch = False + + [DISCORD] + discord_enabled = False + discord_webhook_url = None + discord_onsnatch = False + + [Email] + email_enabled = False + email_from = + email_to = + email_server = + email_user = + email_password = + email_port = 25 + email_enc = 0 + email_ongrab = True + email_onpost = True + + [GOTIFY] + gotify_enabled = False + gotify_server_url = None + gotify_token = None + gotify_onsnatch = False + + [Providers] + provider_order = + usenet_retention = 1500 + + [Client] + nzb_downloader = 0 + torrent_downloader = 0 + + [SABnzbd] + sab_host = None + sab_username = None + sab_password = None + sab_apikey = None + sab_category = None + sab_priority = Default + sab_to_mylar = False + sab_directory = None + sab_version = None + sab_moving_delay = 5 + sab_client_post_processing = False + + [NZBGet] + nzbget_host = None + nzbget_port = None + nzbget_username = None + nzbget_password = None + nzbget_priority = None + nzbget_category = None + nzbget_directory = None + nzbget_client_post_processing = False + + [Blackhole] + blackhole_dir = None + + [NZBsu] + nzbsu = False + nzbsu_uid = None + nzbsu_apikey = None + nzbsu_verify = True + + [DOGnzb] + dognzb = False + dognzb_apikey = None + dognzb_verify = True + + [Newznab] + newznab = False + extra_newznabs = + + [Torznab] + enable_torznab = False + extra_torznabs = + + [Experimental] + experimental = False + altexperimental = False + + [Tablet] + tab_enable = False + tab_host = None + tab_user = None + tab_pass = None + tab_directory = None + + [StoryArc] + storyarcdir = False + copy2arcdir = False + arc_folderformat = $arc ($spanyears) + arc_fileops = copy + arc_fileops_softlink_relative = False + upcoming_storyarcs = False + search_storyarcs = False + + [Metatagging] + enable_meta = False + cmtagger_path = None + cbr2cbz_only = False + ct_tag_cr = True + ct_tag_cbl = True + ct_cbz_overwrite = False + unrar_cmd = None + ct_notes_format = Issue ID + ct_settingspath = /config/.ComicTagger + cmtag_volume = True + cmtag_start_year_as_volume = False + setdefaultvolume = False + + [Torrents] + enable_torrents = False + enable_torrent_search = False + minseeds = 0 + enable_public = False + public_verify = True + + [DDL] + allow_packs = False + enable_ddl = False + enable_getcomics = False + pack_priority = False + ddl_query_delay = 15 + ddl_location = None + ddl_autoresume = True + enable_flaresolverr = False + flaresolverr_url = None + + [AutoSnatch] + auto_snatch = False + auto_snatch_script = None + pp_sshhost = None + pp_sshport = 22 + pp_sshuser = None + pp_sshpasswd = None + pp_sshlocalcd = None + pp_sshkeyfile = None + + [Watchdir] + torrent_local = False + local_watchdir = None + + [Seedbox] + torrent_seedbox = False + seedbox_host = None + seedbox_port = None + seedbox_user = None + seedbox_pass = None + seedbox_watchdir = None + + [32P] + enable_32p = False + search_32p = False + deep_search_32p = False + mode_32p = False + rssfeed_32p = None + passkey_32p = None + username_32p = None + password_32p = None + verify_32p = True + + [Rtorrent] + rtorrent_host = None + rtorrent_authentication = basic + rtorrent_rpc_url = None + rtorrent_ssl = False + rtorrent_verify = False + rtorrent_ca_bundle = None + rtorrent_username = None + rtorrent_password = None + rtorrent_startonload = False + rtorrent_label = None + rtorrent_directory = None + + [uTorrent] + utorrent_host = None + utorrent_username = None + utorrent_password = None + utorrent_label = None + + [Transmission] + transmission_host = None + transmission_username = None + transmission_password = None + transmission_directory = None + + [Deluge] + deluge_host = None + deluge_username = None + deluge_password = None + deluge_label = None + deluge_pause = False + deluge_download_directory = + deluge_done_directory = + + [qBittorrent] + qbittorrent_host = None + qbittorrent_username = None + qbittorrent_password = None + qbittorrent_label = None + qbittorrent_folder = None + qbittorrent_loadaction = default + + [OPDS] + opds_enable = False + opds_authentication = False + opds_endpoint = opds + opds_username = None + opds_password = None + opds_metainfo = False + opds_pagesize = 30 diff --git a/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/deployment.yaml b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/deployment.yaml new file mode 100644 index 0000000..cf0c02f --- /dev/null +++ b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/deployment.yaml @@ -0,0 +1,35 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: mylar + namespace: servarr +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/created-by: tyil + app.kubernetes.io/managed-by: manual + app.kubernetes.io/name: mylar + app.kubernetes.io/part-of: servarr + template: + metadata: + labels: + app.kubernetes.io/created-by: tyil + app.kubernetes.io/managed-by: manual + app.kubernetes.io/name: mylar + app.kubernetes.io/part-of: servarr + spec: + containers: + - name: mylar + image: cr.hotio.dev/hotio/mylar3:release + ports: + - containerPort: 8090 + volumeMounts: + - name: config + mountPath: /config + volumes: + - name: config + configMap: + name: mylar +... diff --git a/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/ingress.yaml b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/ingress.yaml new file mode 100644 index 0000000..1291807 --- /dev/null +++ b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/ingress.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: mylar + namespace: servarr +spec: + ingressClassName: "nginx" + rules: + - host: myl.arr.tyil.nl + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: mylar + port: + number: 80 +... diff --git a/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/kustomization.yaml b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/kustomization.yaml new file mode 100644 index 0000000..5ee3790 --- /dev/null +++ b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/kustomization.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- deployment.yaml +- ingress.yaml +- service.yaml +... diff --git a/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/service.yaml b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/service.yaml new file mode 100644 index 0000000..4e73fba --- /dev/null +++ b/playbooks.d/k3s-master/share/manifests/applications/hurzak.tyil.net/mylar/service.yaml @@ -0,0 +1,17 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: mylar + namespace: servarr +spec: + selector: + app.kubernetes.io/created-by: tyil + app.kubernetes.io/managed-by: manual + app.kubernetes.io/name: mylar + app.kubernetes.io/part-of: servarr + ports: + - protocol: TCP + port: 80 + targetPort: 8090 +... -- cgit v1.1