Resolve Kyverno Policy Issues
Jira 1.15.1 currently has issues where it warns on Kyverno policy scans
Warning PolicyViolation 5m5s (x5 over 4h5m) kyverno-scan policy
require-non-root-user/non-root-user fail: validation failure: validation error:
Either `runAsNonRoot` must be set to true or `runAsUser` must be > 0 in
spec.securityContext or (spec.containers[*].securityContext,
spec.initContainers[*].securityContext, and spec.ephemeralContainers[*].securityContext).
rule non-root-user[0] failed at path /securityContext/runAsNonRoot/ rule
non-root-user[1] failed at path /securityContext/runAsUser/
Edited by Cody Williams