Compare commits

..

3 Commits

Author SHA1 Message Date
f2e3dba5e2 remove probes 2024-03-16 09:56:06 -06:00
e89bd04a8d fix env merging 2024-03-16 09:52:14 -06:00
6f2550cf79 change env type 2024-03-16 09:41:49 -06:00
2 changed files with 4 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: qbittorrent
version: 0.0.4
version: 0.0.7
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:
@@ -66,27 +66,6 @@ spec:
{{- toYaml .Values.gluetun.securityContext | nindent 12 }}
resources:
{{- toYaml .Values.gluetun.resources | nindent 12 }}
livenessProbe:
tcpSocket:
port: {{ .Values.gluetun.service.health.port }}
initialDelaySeconds: 0
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 10
readinessProbe:
tcpSocket:
port: {{ .Values.gluetun.service.health.port }}
initialDelaySeconds: 0
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 10
startupProbe:
tcpSocket:
port: {{ .Values.gluetun.service.health.port }}
initialDelaySeconds: 0
failureThreshold: 30
timeoutSeconds: 1
periodSeconds: 5
volumeMounts:
- name: tunnel-device
mountPath: /dev/net/tun
@@ -99,7 +78,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
@@ -107,7 +86,7 @@ spec:
- name: QBITTORRENT_PORT
value: "{{ .Values.server.service.http.port }}"
- name: EXPORTER_PORT
value: 9022
value: "9022"
{{- end }}
volumes: