fix env merging

This commit is contained in:
2024-03-16 09:52:14 -06:00
parent 6f2550cf79
commit e89bd04a8d
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: qbittorrent
version: 0.0.5
version: 0.0.6
description: Chart for qBittorrent
keywords:
- downloads

View File

@@ -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