Skip to content

Commit

Permalink
fix client daemon set bats
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Sep 1, 2023
1 parent ecfff91 commit 959431f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/consul/test/unit/client-daemonset.bats
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,7 @@ rollingUpdate:

local actual="$(echo $cmd |
yq -r '.annotations["vault.hashicorp.com/namespace"]' | tee /dev/stderr)"
[ "${actual}" = "bar" ]
[ "${actual}" = "vns" ]
}

@test "client/DaemonSet: correct vault namespace annotations is set when global.secretsBackend.vault.vaultNamespace is set and agentAnnotations are also set with vaultNamespace annotation" {
Expand All @@ -2382,7 +2382,7 @@ rollingUpdate:

local actual="$(echo $cmd |
yq -r '.annotations["vault.hashicorp.com/namespace"]' | tee /dev/stderr)"
[ "${actual}" = "vns" ]
[ "${actual}" = "bar" ]
}

@test "client/DaemonSet: vault gossip annotations are set when gossip encryption enabled" {
Expand Down

0 comments on commit 959431f

Please sign in to comment.