Skip to content

Commit dd5aaa8

Browse files
committed
Update KeyCache to use v1alpha1.Duration
1 parent e362745 commit dd5aaa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/proposals/authentication-filter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ type JWTAuth struct {
211211
// Example: "auth_jwt_key_cache 10m".
212212
//
213213
// +optional
214-
KeyCache *string `json:"keyCache,omitempty"`
214+
KeyCache *v1alpha1.Duration `json:"keyCache,omitempty"`
215215

216216
// OnFailure customizes the 401 response for failed authentication.
217217
//
@@ -289,7 +289,7 @@ type JWTFileKeySource struct {
289289
// Example: "auth_jwt_key_cache 10m;".
290290
//
291291
// +optional
292-
KeyCache *string `json:"keyCache,omitempty"`
292+
KeyCache *v1alpha1.Duration `json:"keyCache,omitempty"`
293293
}
294294

295295
// JWTRemoteKeySource specifies remote JWKS configuration.

0 commit comments

Comments
 (0)