diff --git a/charts/stable/influxdb-exporter/Chart.yaml b/charts/stable/influxdb-exporter/Chart.yaml index 6792866d..278321bf 100644 --- a/charts/stable/influxdb-exporter/Chart.yaml +++ b/charts/stable/influxdb-exporter/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 0.8.1 +appVersion: v0.9.0 description: An exporter for metrics in the InfluxDB format, transforms them and exposes them for consumption by Prometheus. name: influxdb-exporter -version: 1.0.1 +version: 1.0.2 kubeVersion: ">=1.16.0-0" keywords: - influxdb-exporter @@ -20,4 +20,4 @@ dependencies: annotations: artifacthub.io/changes: | - kind: fixed - description: Add the description and custom configuration to the README.md + description: Update image to 0.9.0 (InfluxDB v2 clients support), use differnt port for UDP. diff --git a/charts/stable/influxdb-exporter/templates/servicemonitor.yaml b/charts/stable/influxdb-exporter/templates/servicemonitor.yaml index 3207622e..c8167a14 100644 --- a/charts/stable/influxdb-exporter/templates/servicemonitor.yaml +++ b/charts/stable/influxdb-exporter/templates/servicemonitor.yaml @@ -13,7 +13,7 @@ spec: matchLabels: {{- include "common.labels.selectorLabels" . | nindent 6 }} endpoints: - - port: main + - port: http {{- with .Values.metrics.serviceMonitor.interval }} interval: {{ . }} {{- end }} @@ -21,7 +21,7 @@ spec: scrapeTimeout: {{ . }} {{- end }} path: /metrics - - port: main + - port: http {{- with .Values.metrics.serviceMonitor.interval }} interval: {{ . }} {{- end }} diff --git a/charts/stable/influxdb-exporter/values.yaml b/charts/stable/influxdb-exporter/values.yaml index 1299b6e9..783eca55 100644 --- a/charts/stable/influxdb-exporter/values.yaml +++ b/charts/stable/influxdb-exporter/values.yaml @@ -9,7 +9,7 @@ image: # -- image repository repository: prom/influxdb-exporter # -- image tag - tag: v0.8.1 + tag: v0.9.0 # -- image pull policy pullPolicy: IfNotPresent @@ -19,6 +19,10 @@ env: # -- Set the container timezone TZ: UTC +# -- Override the args for the default container +args: + - "--udp.bind-address=0.0.0.0:9123" + # -- Configures service settings for the chart. # @default -- See values.yaml service: @@ -27,15 +31,17 @@ service: ports: http: port: 9122 + targetPort: 9122 udp: enabled: true type: LoadBalancer + loadBalancerIP: "" ports: udp: enabled: true - port: 9122 protocol: UDP - targetPort: 9122 + port: 9123 + targetPort: 9123 metrics: # -- Enable and configure prometheus-qbittorrent-exporter sidecar and Prometheus podMonitor.