From 4936d5452dc60309b8f606291d7ac1fb0890b2da Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Mon, 9 Jan 2023 20:50:14 +0100 Subject: [PATCH] Update common.yaml Signed-off-by: Kjeld Schouten-Lebbing --- charts/stable/transmission/templates/common.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/stable/transmission/templates/common.yaml b/charts/stable/transmission/templates/common.yaml index cbf66c20818..8ae86a87573 100644 --- a/charts/stable/transmission/templates/common.yaml +++ b/charts/stable/transmission/templates/common.yaml @@ -1,2 +1,8 @@ +{{/* Make sure all variables are set properly */}} +{{- include "tc.common.loader.init" . }} + +{{/* Set it to the same port as "torrent" service/port */}} +{{- $_ := set $.Values.service.torrent.ports.torrentudp "port" (int .Values.service.torrent.ports.torrent.port) -}} + {{/* Render the templates */}} -{{ include "tc.common.loader.all" . }} +{{ include "tc.common.loader.apply" . }}