hardcode the exporter port
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: qbittorrent
|
||||
version: 0.0.3
|
||||
version: 0.0.4
|
||||
description: Chart for qBittorrent
|
||||
keywords:
|
||||
- downloads
|
||||
|
@@ -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:
|
||||
|
@@ -80,7 +80,5 @@ metrics:
|
||||
value: admin
|
||||
- name: QBITTORRENT_PASS
|
||||
value: ""
|
||||
- name: EXPORTER_PORT
|
||||
value: 9022
|
||||
- name: EXPORTER_LOG_LEVEL
|
||||
value: INFO
|
||||
|
Reference in New Issue
Block a user