Skip to content

Commit

Permalink
backport of commit d90cc93
Browse files Browse the repository at this point in the history
  • Loading branch information
missylbytes committed Sep 16, 2024
1 parent dd86637 commit f21255e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/consul/test/unit/gateway-resources-job.bats
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ target=templates/gateway-resources-job.yaml
"effect": "NoSchedule" \
"key": "node2" \
"value": "clients2"' \
.| tee /dev/stderr |
. | tee /dev/stderr |
yq '.spec.template.spec.containers[0]' | tee /dev/stderr)
echo "cupcakes"
echo $tolerations
local actual=$(echo "$tolerations" | yq '.args.[13] | contains("operator")' | tee /dev/stderr)

local actual=$(echo "$tolerations" | yq '.args.[13] | contains("blah")' | tee /dev/stderr)
echo "if fails-----------------------------------------------------------"
echo $tolerations
echo $actual
echo $actual >&3
[ "${actual}" = true ]
Expand Down

0 comments on commit f21255e

Please sign in to comment.