Skip to content

Commit

Permalink
Fix Helm test that I broke (#755)
Browse files Browse the repository at this point in the history
* Atoning for my sins

* Fix the issue in client-daemonset bats too
  • Loading branch information
Thomas Eckert authored Oct 5, 2021
1 parent 237e02e commit 2443bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/consul/test/unit/client-daemonset.bats
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ load _helpers
-s templates/client-daemonset.yaml \
--set 'global.gossipEncryption.autoGenerate=true' \
. | tee /dev/stderr |
yq '.spec.template.spec.containers[] | select(.name=="consul") | .command | any(contains("-encrypt=\"${GOSSIP_KEY}\""))'
yq '.spec.template.spec.containers[] | select(.name=="consul") | .command | any(contains("-encrypt=\"${GOSSIP_KEY}\""))' \
| tee /dev/stderr)
[ "${actual}" = "true" ]
}
Expand Down
2 changes: 1 addition & 1 deletion charts/consul/test/unit/server-statefulset.bats
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ load _helpers
-s templates/server-statefulset.yaml \
--set 'global.gossipEncryption.autoGenerate=true' \
. | tee /dev/stderr |
yq '.spec.template.spec.containers[] | select(.name=="consul") | .command | any(contains("-encrypt=\"${GOSSIP_KEY}\""))'
yq '.spec.template.spec.containers[] | select(.name=="consul") | .command | any(contains("-encrypt=\"${GOSSIP_KEY}\""))' \
| tee /dev/stderr)
[ "${actual}" = "true" ]
}
Expand Down

0 comments on commit 2443bff

Please sign in to comment.