Skip to content

Commit d5a68bd

Browse files
committed
Update LocalObjectReferenceWithKey
1 parent f4da411 commit d5a68bd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/proposals/authentication-filter.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,8 @@ type JWTFileKeySource struct {
241241
// LocalObjectReferenceWithKey specifies a local Kubernetes object
242242
// with a required `key` field to extract data.
243243
type LocalObjectReferenceWithKey struct {
244-
// Inline the core LocalObjectReference so `name` sits at the same JSON level
245-
// (optional, but avoids nesting)
246-
v1.LocalObjectReference `json:",inline"`
247-
244+
Name string: `json:"name"`
245+
248246
Key string `json:"key"`
249247
}
250248

0 commit comments

Comments
 (0)