Skip to content

Commit

Permalink
Deploying vpn sidecar for sabnzbd
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryGF committed Aug 16, 2023
1 parent 6a1d48f commit 5131fb5
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
23 changes: 22 additions & 1 deletion argocd/sabnzbd/values.common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,25 @@ sabnzbd:
existingClaim: sabnzbd-config
downloads:
enabled: true
existingClaim: media
existingClaim: media

# VPN side-car
addons:
vpn:
enabled: true
type: wireguard
wireguard:
image:
tag: v1.0.20210914

# -- Reference an existing secret that contains the VPN configuration file
# The chart expects it to be present under the `vpnConfigfile` key.
configFileSecret: vpnconfig
scripts:
up: |-
#!/bin/bash
echo "connected" > /shared/vpnstatus
down: |-
#!/bin/bash
echo "disconnected" > /shared/vpnstatus
25 changes: 24 additions & 1 deletion docs/Post-Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ These are the steps you need to follow after you've finished the infrastructure
- [Post Install](#post-install)
- [Table of contents](#table-of-contents)
- [Rtorrent-Flood](#rtorrent-flood)
- [SABnzbd](#sabnzbd)
- [Jackett (DEPRECATED)](#jackett-deprecated)
- [IMPORTANT INFORMATION FOR \*ARR](#important-information-for-arr)
- [Prowlarr](#prowlarr)
Expand All @@ -30,6 +31,21 @@ These are the steps you need to follow after you've finished the infrastructure
- Create username and password and keep them in mind, you will need them later
- Paste the following path in the socket `/config/.local/share/rtorrent/rtorrent.sock/config/.local/share/rtorrent/rtorrent.sock`

## SABnzbd

SABnzbd has a security feature where it prevents accessing it from anywhere but localhost unless a specific setting has been set, or credentials have been set, we will go for the last route for this particular config:

- Forward sabnzbd to your localhost:

```bash
kubectl port-forward -n services svc/sabnzbd 8090:8080
```

- Go to `http://localhost:8090/sabnzbd`
- Finish the wizard
- In Config->General set the username and password
- You'll be able to access it from anywhere now

## Jackett (DEPRECATED)

- __Jackett has been deprecated in favor of prowlarr, it is way easier to sync the indexers that way__
Expand Down Expand Up @@ -67,7 +83,7 @@ terraform apply -auto-approve -target module.argocd_application
- I don't recommend you set up auth for this, it might lock you out of the app, and it's not worth the hassle
- Add your desired indexers

- Go to the apps (#sonarr/radarr) and get their API keys by going to Settings -> General -> Security
- Go to the apps (#sonarr/radarr, #sabnzbd) and get their API keys by going to Settings -> General -> Security

- Go to Settings -> Apps and add your deployed apps:

Expand All @@ -86,6 +102,7 @@ terraform apply -auto-approve -target module.argocd_application

- After you've finished adding the apps you might want to trigger a `Sync app indexers`


## [Sonarr/Radarr](https://wiki.servarr.com/radarr)

- Go to Radarr/Sonarr: `https://{radarr/sonarr}.{your domain}.duckdns.org`
Expand All @@ -96,6 +113,12 @@ terraform apply -auto-approve -target module.argocd_application
- Port: `3000`
- Set username and password from [Flood](#rtorrent-flood) step

- Go to Settings -> Download Clients: Add a new `SABnzbd` downloader:
- Name: Flood
- Host: `sabnzbd`
- Port: `8080`
- Set username and password from [SABnzbd](#sabnzbd) step
- You also need to add the SABnzbd api key from General-> API Key
- Add new profiles to support other languages

- If the categories don't match between Radarr/Sonarr and Prowlarr it might fail silently
Expand Down

0 comments on commit 5131fb5

Please sign in to comment.