From e89bd04a8d7c39f9d5a6c49c9e7eecc9bd83383b Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 16 Mar 2024 09:52:14 -0600 Subject: [PATCH] fix env merging --- charts/qbittorrent/Chart.yaml | 2 +- charts/qbittorrent/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/qbittorrent/Chart.yaml b/charts/qbittorrent/Chart.yaml index 03a4e2d..4e6d589 100644 --- a/charts/qbittorrent/Chart.yaml +++ b/charts/qbittorrent/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: qbittorrent -version: 0.0.5 +version: 0.0.6 description: Chart for qBittorrent keywords: - downloads diff --git a/charts/qbittorrent/templates/deployment.yaml b/charts/qbittorrent/templates/deployment.yaml index 78ad3b6..5321d17 100644 --- a/charts/qbittorrent/templates/deployment.yaml +++ b/charts/qbittorrent/templates/deployment.yaml @@ -49,7 +49,7 @@ spec: image: "{{.Values.gluetun.image.repository}}:{{.Values.gluetun.image.tag}}" imagePullPolicy: {{ .Values.gluetun.image.pullPolicy }} env: - {{- with (concat .Values.global.env .Values.server.env) }} + {{- with (concat .Values.global.env .Values.gluetun.env) }} {{- toYaml . | nindent 12 }} {{- end }} ports: @@ -99,7 +99,7 @@ spec: image: "{{ .Values.metrics.exporter.image.repository }}:{{.Values.metrics.exporter.image.tag }}" imagePullPolicy: {{ .Values.metrics.exporter.image.pullPolicy }} env: - {{- with (concat .Values.global.env .Values.server.env) }} + {{- with (concat .Values.global.env .Values.metrics.exporter.env) }} {{- toYaml . | nindent 12 }} {{- end }} - name: QBITTORRENT_HOST