UNCLASSIFIED - NO CUI

Skip to content

Add automount violation exception to Kyverno policy for Gatekeeper pods

Bug

Description

Gatekeeper pod events show a kyverno policy violation warning. Warning message -> policy disallow-auto-mount-service-account-token/automount-pods fail: validation error: Automount Kubernetes API Credentials is explicitly turned on. The field spec.automountServiceAccountToken must be undefined or set to false. rule automount-pods failed at path /spec/automountServiceAccountToken/

Add automount violation exception to Kyverno policy for Gatekeeper pods

BigBang Version

2.51