From 0c94180823f435031a2492bfd2af8b503124672c Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 16 Mar 2024 09:36:56 -0600 Subject: [PATCH] hardcode the exporter port --- charts/qbittorrent/Chart.yaml | 2 +- charts/qbittorrent/templates/deployment.yaml | 4 +++- charts/qbittorrent/values.yaml | 2 -- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/qbittorrent/Chart.yaml b/charts/qbittorrent/Chart.yaml index ba27110..6b01793 100644 --- a/charts/qbittorrent/Chart.yaml +++ b/charts/qbittorrent/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: qbittorrent -version: 0.0.3 +version: 0.0.4 description: Chart for qBittorrent keywords: - downloads diff --git a/charts/qbittorrent/templates/deployment.yaml b/charts/qbittorrent/templates/deployment.yaml index 6f67710..57fe2bb 100644 --- a/charts/qbittorrent/templates/deployment.yaml +++ b/charts/qbittorrent/templates/deployment.yaml @@ -60,7 +60,7 @@ spec: containerPort: {{ .Values.server.service.http.port }} protocol: TCP - name: metrics - containerPort: {{ .Values.metrics.exporter.env.port }} + containerPort: 9022 protocol: TCP securityContext: {{- toYaml .Values.gluetun.securityContext | nindent 12 }} @@ -106,6 +106,8 @@ spec: value: "http://localhost" - name: QBITTORRENT_PORT value: "{{ .Values.server.service.http.port }}" + - name: EXPORTER_PORT + value: 9022 {{- end }} volumes: diff --git a/charts/qbittorrent/values.yaml b/charts/qbittorrent/values.yaml index 39658af..ff9d7d9 100644 --- a/charts/qbittorrent/values.yaml +++ b/charts/qbittorrent/values.yaml @@ -80,7 +80,5 @@ metrics: value: admin - name: QBITTORRENT_PASS value: "" - - name: EXPORTER_PORT - value: 9022 - name: EXPORTER_LOG_LEVEL value: INFO