File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
en/docs/reference/access-authn-authz
zh-cn/docs/reference/access-authn-authz Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,23 @@ authorizers:
219
219
# Same as setting ` --authorization-webhook-cache-authorized-ttl ` flag
220
220
# Default: 5m0s
221
221
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
222
228
# The duration to cache 'unauthorized' responses from the webhook
223
229
# authorizer.
224
230
# Same as setting ` --authorization-webhook-cache-unauthorized-ttl ` flag
225
231
# Default: 30s
226
232
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
227
239
# Timeout for the webhook request
228
240
# Maximum allowed is 30s.
229
241
# Required, with no default.
Original file line number Diff line number Diff line change @@ -406,11 +406,23 @@ authorizers:
406
406
# Same as setting `--authorization-webhook-cache-authorized-ttl` flag
407
407
# Default: 5m0s
408
408
authorizedTTL: 30s
409
+ # If set to false, 'authorized' responses from the webhook are not cached
410
+ # and the specified authorizedTTL is ignored/has no effect.
411
+ # Same as setting `--authorization-webhook-cache-authorized-ttl` flag to `0`.
412
+ # Note: Setting authorizedTTL to `0` results in its default value being used.
413
+ # Default: true
414
+ cacheAuthorizedRequests: true
409
415
# The duration to cache 'unauthorized' responses from the webhook
410
416
# authorizer.
411
417
# Same as setting `--authorization-webhook-cache-unauthorized-ttl` flag
412
418
# Default: 30s
413
419
unauthorizedTTL: 30s
420
+ # If set to false, 'unauthorized' responses from the webhook are not cached
421
+ # and the specified unauthorizedTTL is ignored/has no effect.
422
+ # Same as setting `--authorization-webhook-cache-unauthorized-ttl` flag to `0`.
423
+ # Note: Setting unauthorizedTTL to `0` results in its default value being used.
424
+ # Default: true
425
+ cacheUnauthorizedRequests: true
414
426
# Timeout for the webhook request
415
427
# Maximum allowed is 30s.
416
428
# Required, with no default.
You can’t perform that action at this time.
0 commit comments