From 7c9a06dcee1f2b0aa0e506dd73e9638f58eea0b5 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 16 Mar 2024 09:12:46 -0600 Subject: [PATCH] add existing secret name for gluetun --- charts/qbittorrent/Chart.yaml | 2 +- charts/qbittorrent/templates/deployment.yaml | 2 +- charts/qbittorrent/values.yaml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/qbittorrent/Chart.yaml b/charts/qbittorrent/Chart.yaml index d7b5a68..1156cb2 100644 --- a/charts/qbittorrent/Chart.yaml +++ b/charts/qbittorrent/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: qbittorrent -version: 0.0.1 +version: 0.0.2 description: Chart for qBittorrent keywords: - downloads diff --git a/charts/qbittorrent/templates/deployment.yaml b/charts/qbittorrent/templates/deployment.yaml index 56fdc95..6f67710 100644 --- a/charts/qbittorrent/templates/deployment.yaml +++ b/charts/qbittorrent/templates/deployment.yaml @@ -116,7 +116,7 @@ spec: path: /dev/net/tun - name: wg0-wireguard-config secret: - secretName: qbittorrent-wireguard-secret + secretName: {{ .Values.gluetun.existingSecretName }} items: - key: wg0.conf path: wg0.conf diff --git a/charts/qbittorrent/values.yaml b/charts/qbittorrent/values.yaml index bb5f230..39658af 100644 --- a/charts/qbittorrent/values.yaml +++ b/charts/qbittorrent/values.yaml @@ -21,7 +21,7 @@ server: - name: PGID value: "1000" - name: UMASK_SET - value: "002" + value: "002" resources: requests: cpu: 100m @@ -53,6 +53,7 @@ gluetun: add: - NET_ADMIN env: [] + existingSecretName: resources: requests: cpu: 100m