TrueChartsClone/charts/stable/qbittorrent/templates/common.yaml

12 lines
414 B
YAML

{{/* 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 configmap */}}
{{ include "qbittorrent.configmap" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}