I wondered what ‘mode: PERMISSIVE’ means. It is not documented at istio.io. api/rbac/v1alpha1/rbac.pb.go flags it $hide_from_docs so this is not a problem with documentation.
Why are there fields in samples that are not documented? Aren’t users going to wonder what these fields mean and try to look them up and get discouraged?
The undocumented Mode of a ServiceRoleBinding is ENFORCED or PERMISSIVE.
According to api/rbac/v1alpha1/rbac.proto the Enforcement Mode is “… used to verify new ServiceRoleBinding configs work as expected before rolling to production. RBAC engine only logs results from configs that are in permissive mode, and discards result before returning to the user.”
This is different from mTLS mode. I assume it is hidden for a good reason, but what is the reason? Deprecated? Not yet implemented?