fix(plex): accept `-` and capital letters in ADVERTISE_IP (#3448)
This commit is contained in:
parent
1fbe57b9b2
commit
389eb05d86
|
@ -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.32
|
version: 10.0.33
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|
|
@ -7,6 +7,7 @@ Accepts:
|
||||||
- Empty string
|
- Empty string
|
||||||
- `http://` or `https://`
|
- `http://` or `https://`
|
||||||
- IP or DNS host
|
- IP or DNS host
|
||||||
|
- Characters (`0-9`, `a-z`, `A-Z`, `-`, `.`)
|
||||||
- Port is optional
|
- Port is optional
|
||||||
- `,` Separated
|
- `,` Separated
|
||||||
|
|
||||||
|
@ -17,10 +18,13 @@ Accepted formats are:
|
||||||
- `http://dnshost:32400`
|
- `http://dnshost:32400`
|
||||||
- `https://dnshost:32400`
|
- `https://dnshost:32400`
|
||||||
- `https://dnshost`
|
- `https://dnshost`
|
||||||
|
- `https://DNSHOST`
|
||||||
|
- `https://DNS-HOST`
|
||||||
|
- `https://dns-host`
|
||||||
- `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-zA-Z0-9.-]*)(:\d{0,5})?,?)*$`
|
||||||
You can try live [here](https://regex101.com/r/iC2WYp/1)
|
You can try live [here](https://regex101.com/r/zay2xO/1)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,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-zA-Z0-9.-]*)(:\d{0,5})?,?)*$'
|
||||||
default: "http://SERVER_IP:32400"
|
default: "http://SERVER_IP:32400"
|
||||||
- variable: ALLOWED_NETWORKS
|
- variable: ALLOWED_NETWORKS
|
||||||
label: "Allowed Networks"
|
label: "Allowed Networks"
|
||||||
|
|
Loading…
Reference in New Issue