File tree Expand file tree Collapse file tree
content/en/docs/reference/access-authn-authz Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,11 +219,23 @@ authorizers:
219219 # Same as setting ` --authorization-webhook-cache-authorized-ttl ` flag
220220 # Default: 5m0s
221221 authorizedTTL: 30s
222+ # If set to false, 'authorized' responses from the webhook are not cached
223+ # and the specified authorizedTTL is ignored/has no effect.
224+ # Same as setting ` --authorization-webhook-cache-authorized-ttl ` flag to ` 0 ` .
225+ # Note: Setting authorizedTTL to ` 0 ` results in its default value being used.
226+ # Default: true
227+ cacheAuthorizedRequests: true
222228 # The duration to cache 'unauthorized' responses from the webhook
223229 # authorizer.
224230 # Same as setting ` --authorization-webhook-cache-unauthorized-ttl ` flag
225231 # Default: 30s
226232 unauthorizedTTL: 30s
233+ # If set to false, 'unauthorized' responses from the webhook are not cached
234+ # and the specified unauthorizedTTL is ignored/has no effect.
235+ # Same as setting ` --authorization-webhook-cache-unauthorized-ttl ` flag to ` 0 ` .
236+ # Note: Setting unauthorizedTTL to ` 0 ` results in its default value being used.
237+ # Default: true
238+ cacheUnauthorizedRequests: true
227239 # Timeout for the webhook request
228240 # Maximum allowed is 30s.
229241 # Required, with no default.
You can’t perform that action at this time.
0 commit comments