Class EnforcementMode (1.10.3)

EnforcementMode(value)

Defines the possible actions when a pod creation is denied by an admission rule.

Values: ENFORCEMENT_MODE_UNSPECIFIED (0): Do not use. ENFORCED_BLOCK_AND_AUDIT_LOG (1): Enforce the admission rule by blocking the pod creation. DRYRUN_AUDIT_LOG_ONLY (2): Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass.