Skip to content

Kyverno Policy Tightening #959

Description

@adityathebe
kubectl get policyreport -A -o go-template='
   {{- range .items}}
   {{- $ns := .scope.namespace}}{{$kind := .scope.kind}}{{$name := .scope.name}}
   {{- range .results}}
   {{- if and (eq .policy "require-readonly-rootfs") (eq .result "fail")}}
   {{$ns}}/{{$kind}}/{{$name}}
   {{- end}}
   {{- end}}
   {{- end}}' | sort

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