fix(plex): allow empty advertise IP (#3437)

This commit is contained in:
Stavros Kois
2022-08-11 11:13:06 +03:00
committed by GitHub
parent 50b7fdb76d
commit fe8de48c54
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/plex - https://github.com/truecharts/charts/tree/master/charts/stable/plex
- https://github.com/k8s-at-home/container-images/pkgs/container/plex - https://github.com/k8s-at-home/container-images/pkgs/container/plex
type: application type: application
version: 10.0.31 version: 10.0.32
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
+3 -2
View File
@@ -4,6 +4,7 @@
Accepts: Accepts:
- Empty string
- `http://` or `https://` - `http://` or `https://`
- IP or DNS host - IP or DNS host
- Port is optional - Port is optional
@@ -18,8 +19,8 @@ Accepted formats are:
- `https://dnshost` - `https://dnshost`
- `https://dnshost,http://192.168.1.100:32400` - `https://dnshost,http://192.168.1.100:32400`
Regex used to match this: `^(http(s)?:\/\/([a-z0-9.]*)(:\d{0,5})?,?)*$` Regex used to match this: `^$|^(http(s)?:\/\/([a-z0-9.]*)(:\d{0,5})?,?)*$`
You can try live [here](https://regex101.com/r/9GBtUh/1) You can try live [here](https://regex101.com/r/iC2WYp/1)
--- ---
+1 -2
View File
@@ -24,8 +24,7 @@ questions:
description: "IP to advertise to Plex, Change SERVER_IP to your actual server IP" description: "IP to advertise to Plex, Change SERVER_IP to your actual server IP"
schema: schema:
type: string type: string
valid_chars: '^(http(s)?:\/\/([a-z0-9.]*)(:\d{0,5})?,?)*$' valid_chars: '^$|^(http(s)?:\/\/([a-z0-9.]*)(:\d{0,5})?,?)*$'
required: true
default: "http://SERVER_IP:32400" default: "http://SERVER_IP:32400"
- variable: ALLOWED_NETWORKS - variable: ALLOWED_NETWORKS
label: "Allowed Networks" label: "Allowed Networks"