Add warnings for failed secred mounts to expect warnings in it (#5053)

Seems that Helm is cleaning orphaned resources. Pods that depend on them seem to be not upgraded on time, causing some warnings to be emitted and he CI process to fail

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
This commit is contained in:
Zahari Dichev 2020-10-08 23:06:03 +03:00 committed by GitHub
parent c1bc91dc9c
commit ffa7157907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ var (
knownEventWarningsRegex = regexp.MustCompile(strings.Join([]string{ knownEventWarningsRegex = regexp.MustCompile(strings.Join([]string{
`MountVolume.SetUp failed for volume .* : couldn't propagate object cache: timed out waiting for the condition`, // pre k8s 1.16 `MountVolume.SetUp failed for volume .* : couldn't propagate object cache: timed out waiting for the condition`, // pre k8s 1.16
`MountVolume.SetUp failed for volume .* : failed to sync .* cache: timed out waiting for the condition`, // post k8s 1.16 `MountVolume.SetUp failed for volume .* : failed to sync .* cache: timed out waiting for the condition`, // post k8s 1.16
`MountVolume.SetUp failed for volume "tls" : secret "linkerd-.*" not found`,
`(Liveness|Readiness) probe failed: HTTP probe failed with statuscode: 50(2|3)`, `(Liveness|Readiness) probe failed: HTTP probe failed with statuscode: 50(2|3)`,
`(Liveness|Readiness) probe failed: Get http://.*: dial tcp .*: connect: connection refused`, `(Liveness|Readiness) probe failed: Get http://.*: dial tcp .*: connect: connection refused`,
`(Liveness|Readiness) probe failed: Get http://.*: read tcp .*: read: connection reset by peer`, `(Liveness|Readiness) probe failed: Get http://.*: read tcp .*: read: connection reset by peer`,