fix(lancache): fix port assignments (#3798)

* Fixed lancache port assignment

* Added better label. And reverted to safe default

* Removed default ports

* Moved warning form frontend ui to documentation

* update doc

* fix ports

* Update charts/incubator/lancache-monolithic/docs/installation_notes.md

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* lint

* Update charts/incubator/lancache-monolithic/docs/installation_notes.md

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros kois <s.kois@outlook.com>
Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Jonas Wrede
2022-09-25 21:46:16 +02:00
committed by GitHub
co-authored by Stavros Kois Stavros kois Kjeld Schouten-Lebbing
parent aa31a801a8
commit 78dd9dc60f
6 changed files with 91 additions and 2 deletions
@@ -97,6 +97,35 @@ questions:
type: int
default: 53
required: true
# Include{advancedPortTCP}
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 53
- variable: dns
label: "DNS Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorSimple}
# Include{serviceSelectorExtras}
- variable: dns
label: "DNS Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 53
required: true
# Include{advancedPortUDP}
- variable: targetPort
label: "Target Port"
+9 -1
View File
@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/lancache-dns
tag: latest@sha256:0d04cbb893f0b1da8154e2d0a9911b5e9c71f6b2dbb2e66d62e8763b4fe2a17f
pullPolicy: IfNotPresent
tag: latest@sha256:0d04cbb893f0b1da8154e2d0a9911b5e9c71f6b2dbb2e66d62e8763b4fe2a17f
env:
CACHE_DOMAINS_REPO: "https://github.com/uklans/cache-domains.git"
@@ -27,6 +27,14 @@ service:
main:
ports:
main:
port: 53
targetPort: 53
dns:
enabled: true
ports:
dns:
enabled: true
protocol: UDP
port: 53
targetPort: 53