allow() Function
allow()
will allow a request and terminate execution immediately. This means that statements after allow()
will not be executed anymore.
#
ExampleThis example policy will deny pod creation in the default namespace.
allow()
will allow a request and terminate execution immediately. This means that statements after allow()
will not be executed anymore.
This example policy will deny pod creation in the default namespace.