Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip checks at container level #168

Open
arvan-pritchard opened this issue May 21, 2021 · 0 comments
Open

Skip checks at container level #168

arvan-pritchard opened this issue May 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@arvan-pritchard
Copy link

arvan-pritchard commented May 21, 2021




Is your feature request related to a problem? Please describe.
spinach configuration allows you to skip all checks for a container or codes for all containers in a pod. I'd like to skip particular codes on specific containers.

e.g. I know my 'fred' pod has a 'jim' container that has to run as root, but would like to check other problems on that container and other containers in the same pod running as root

Describe the solution you'd like
Allow specification of a list of codes on a container. Something like

popeye:
  excludes:
    v1/pods:
    - name: rx:fred
      containers:
        - name: jim
          codes:
              302

Describe alternatives you've considered
Could alternatively have a different field e.g. 'containercodes' which is a map of container names to lists of codes, rather than redefining 'containers' to be structured
At present I need to leave codes unsuppressed and postprocess the Popeye output.

@derailed derailed added the enhancement New feature or request label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants