Skip to content

Commit

Permalink
Removing debugging echo statementsleft in server-statefulset.bats
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Feb 7, 2022
1 parent 171ca62 commit 81352ee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions charts/consul/test/unit/server-statefulset.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1807,8 +1807,6 @@ load _helpers
local actual=$(echo $object |
yq -r '.metadata.annotations["vault.hashicorp.com/agent-inject-template-servercert.crt"]' | tee /dev/stderr)
local expected=$'{{- with secret \"pki_int/issue/test\" \"common_name=server.dc2.consul\"\n\"ttl=1h\" \"alt_names=localhost,RELEASE-NAME-consul-server,*.RELEASE-NAME-consul-server,*.RELEASE-NAME-consul-server.default,*.RELEASE-NAME-consul-server.default.svc,*.server.dc2.consul,*.foo.com,*.bar.com\" \"ip_sans=127.0.0.1\" -}}\n{{- .Data.certificate -}}\n{{- end -}}'
echo "Expected: ${expected}"
echo "Actual: ${actual}"
[ "${actual}" = "${expected}" ]

local actual="$(echo $object |
Expand Down

0 comments on commit 81352ee

Please sign in to comment.