Skip to content

[FEATURE_REQUEST] Question: How to disable privileged check for initcontainers #928

@bbkgh

Description

@bbkgh

Hi. I want to disable privileged check for initcontainers but containers must be checked by that. I there any solution for this? sth like:

customChecks:
  - name: privileged-containers-just-containers
    template: privileged
    scope:
      fieldSelector: "spec.containers"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions