Skip to content

Commit

Permalink
updated server-statefulset.yaml to correct ad.datadoghq.com/consul.lo…
Browse files Browse the repository at this point in the history
…gs annotation to valid single quote string
  • Loading branch information
natemollica-nm committed Feb 9, 2024
1 parent f88bf52 commit 96692a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/consul/templates/server-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ spec:
{{- end }}
{{- if .Values.global.metrics.datadog.enabled }}
"ad.datadoghq.com/tolerate-unready": "true"
"ad.datadoghq.com/consul.logs": {{ .Values.global.metrics.datadog.dogstatsd.dogstatsdTags | squote }}
"ad.datadoghq.com/consul.logs": {{ .Values.global.metrics.datadog.dogstatsd.dogstatsdTags | toJson | squote }}
{{- if .Values.global.metrics.datadog.openMetricsPrometheus.enabled }}
"ad.datadoghq.com/consul.checks": |
{
Expand Down
2 changes: 1 addition & 1 deletion charts/consul/test/unit/server-config-configmap.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ load _helpers
local actual=$(helm template \
-s templates/server-config-configmap.yaml \
--set 'global.metrics.enabled=true' \
--set 'global.metrics.enableAgentMetrics=true' \
--set 'global.metrics.enableAgentMetrics=true' \
--set 'global.metrics.datadog.enabled=true' \
--set 'global.metrics.datadog.dogstatsd.enabled=true' \
. | tee /dev/stderr |
Expand Down

0 comments on commit 96692a2

Please sign in to comment.