You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support the ability to assert the logs of a pod contains / not contains the string that you would expect it too.
Basic Example
The input would look something like:
- type: AssertLogspec:
contains: "Some String"lines: 100# Optionally provides the number of log lines to compare toresource:
objectRef:
type: Resourcespec:
kind: Podnamespace: applicationslabels:
hello: world
Motivation
The Sealed Secrets controller will output a decryption error log if one of the sealed secrets isn't decrypted properly. anchorctl should be able to parse the logs and fail the test if the logs contain the phrase "Decryption error"
The text was updated successfully, but these errors were encountered:
spacetj
changed the title
Support AssertLog Test
Feature: Support AssertLog Test
Mar 25, 2020
Description
Support the ability to assert the logs of a pod contains / not contains the string that you would expect it too.
Basic Example
The input would look something like:
Motivation
The Sealed Secrets controller will output a decryption error log if one of the sealed secrets isn't decrypted properly.
anchorctl
should be able to parse the logs and fail the test if the logs contain the phrase "Decryption error"The text was updated successfully, but these errors were encountered: