From 4ad9491cb1b270e41347b83a8dc66500c49dc0ea Mon Sep 17 00:00:00 2001 From: Matt Jeanes Date: Mon, 20 Jun 2022 15:10:55 +0100 Subject: [PATCH] [teamspeak] feat: Can now change metric exporter remote (#1621) * feat: Can now change metric exporter remote Signed-off-by: Matt Jeanes --- charts/incubator/teamspeak/Chart.yaml | 4 ++-- charts/incubator/teamspeak/templates/common.yaml | 2 ++ charts/incubator/teamspeak/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/incubator/teamspeak/Chart.yaml b/charts/incubator/teamspeak/Chart.yaml index 7b3e6252..34001d0f 100644 --- a/charts/incubator/teamspeak/Chart.yaml +++ b/charts/incubator/teamspeak/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 appVersion: 3.13.6 description: TeamSpeak Server name: teamspeak -version: 0.5.2 +version: 0.6.0 kubeVersion: ">=1.16.0-0" keywords: - teamspeak @@ -21,4 +21,4 @@ dependencies: annotations: artifacthub.io/changes: |- - kind: changed - description: Upgraded `common` chart dependency to version 4.4.2 + description: Adds support for setting the metric exporter remote diff --git a/charts/incubator/teamspeak/templates/common.yaml b/charts/incubator/teamspeak/templates/common.yaml index 2de6786b..7a5daa0b 100644 --- a/charts/incubator/teamspeak/templates/common.yaml +++ b/charts/incubator/teamspeak/templates/common.yaml @@ -32,6 +32,8 @@ additionalContainers: args: - -listen - :{{ .Values.metrics.exporter.env.port }} + - -remote + - {{ .Values.metrics.exporter.env.remote }} {{- if .Values.metrics.exporter.env.enableChannelMetrics }} - -enablechannelmetrics {{- end }} diff --git a/charts/incubator/teamspeak/values.yaml b/charts/incubator/teamspeak/values.yaml index bbd747a0..502afe43 100644 --- a/charts/incubator/teamspeak/values.yaml +++ b/charts/incubator/teamspeak/values.yaml @@ -105,6 +105,8 @@ metrics: env: # -- metrics port port: 9189 + # -- TeamSpeak query endpoint + remote: localhost:10011 # -- Set to true to enable gathering of channel metrics enableChannelMetrics: false