This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ function setup() { | |
git -c '[email protected]' -c 'user.name=Foo' commit -am "Bump podinfo and duplicate it to cause an error" | ||
git push | ||
# Wait until we find the duplicate failure in the logs | ||
poll_until_true "duplicate resource in Flux logs" "kubectl logs -n $FLUX_NAMESPACE -l name=flux | grep -q \"duplicate definition of 'demo:deployment/podinfo'\"" | ||
poll_until_true "duplicate resource in Flux logs" "kubectl logs -n $FLUX_NAMESPACE -l deploy/flux | grep -q \"duplicate definition of 'demo:deployment/podinfo'\"" | ||
# Make sure that the version of podinfo wasn't bumped | ||
local podinfo_image_now | ||
podinfo_image_now=$(kubectl get pod -n demo -l app=podinfo -o"jsonpath={['items'][0]['spec']['containers'][0]['image']}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters