From 2e4d38799f52b2307bee04c1b14e3f63425ce5e8 Mon Sep 17 00:00:00 2001 From: Waldemar Quevedo Date: Fri, 2 Sep 2022 09:45:31 -0700 Subject: [PATCH] add accounts to monitor metrics Signed-off-by: Waldemar Quevedo --- helm/charts/surveyor/Chart.yaml | 2 +- helm/charts/surveyor/templates/deployment.yaml | 4 ++++ helm/charts/surveyor/values.yaml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/helm/charts/surveyor/Chart.yaml b/helm/charts/surveyor/Chart.yaml index 9d788a0d..17af0c87 100644 --- a/helm/charts/surveyor/Chart.yaml +++ b/helm/charts/surveyor/Chart.yaml @@ -3,5 +3,5 @@ apiVersion: v2 name: surveyor description: NATS Monitoring, Simplified. type: application -version: 0.14.0 +version: 0.14.1 appVersion: 0.4.0 diff --git a/helm/charts/surveyor/templates/deployment.yaml b/helm/charts/surveyor/templates/deployment.yaml index 2ec5d076..b4c43dcf 100644 --- a/helm/charts/surveyor/templates/deployment.yaml +++ b/helm/charts/surveyor/templates/deployment.yaml @@ -44,6 +44,10 @@ spec: - -s={{ . }} {{- end }} + {{- with .accounts }} + - --accounts + {{- end }} + {{- with .timeout }} - --timeout={{ . }} {{- end }} diff --git a/helm/charts/surveyor/values.yaml b/helm/charts/surveyor/values.yaml index 6b595dd1..e8592a77 100644 --- a/helm/charts/surveyor/values.yaml +++ b/helm/charts/surveyor/values.yaml @@ -85,6 +85,9 @@ config: # Expected number of servers expectedServers: 1 + # Enable monitoring account metrics. + accounts: false + # Required if NATS auth is enabled # credentials: # secret: