Skip to content

Commit

Permalink
fix helpers.tpl consul.extraConfig from merge --> /consul/tmp/extra-c…
Browse files Browse the repository at this point in the history
…onfig/extra-from-values.json | add labels to rolebinding for datadog secrets
  • Loading branch information
natemollica-nm committed Feb 9, 2024
1 parent ae4ac1a commit d01568a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/consul/test/unit/server-statefulset.bats
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ load _helpers

local actual=$(echo "$annotations" | \
yq -r '."ad.datadoghq.com/consul.logs"' | tee /dev/stderr)
[ "${actual}" = "[source:consul consul_service:consul-server]" ]
[ "${actual}" = '[{"source": "consul","consul_service": "consul-server"}]' ]

local consul_checks=$(echo "$annotations" | \
yq -r '."ad.datadoghq.com/consul.checks"' | tee /dev/stderr)
Expand Down Expand Up @@ -842,7 +842,7 @@ load _helpers

local actual=$(echo "$annotations" | \
yq -r '."ad.datadoghq.com/consul.logs"' | tee /dev/stderr)
[ "${actual}" = "[source:consul consul_service:consul-server]" ]
[ "${actual}" = '[{"source": "consul","consul_service": "consul-server"}]' ]

local consul_checks=$(echo "$annotations" | \
yq -r '."ad.datadoghq.com/consul.checks"' | tee /dev/stderr)
Expand Down

0 comments on commit d01568a

Please sign in to comment.