You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/proposals/authentication-filter.md
+8-69Lines changed: 8 additions & 69 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,8 +168,7 @@ type JWTAuth struct {
168
168
// Mode selects how JWT keys are provided: local file or remote JWKS.
169
169
ModeJWTKeyMode`json:"mode,omitempty"`
170
170
171
-
// File specifies local JWKS configuration (Secret or ConfigMap, mount path, file name).
172
-
// Required when Mode == File. Exactly one of ConfigMapRef or SecretRef must be set.
171
+
// File specifies local JWKS configuration.
173
172
//
174
173
// +optional
175
174
File *JWTFileKeySource `json:"file,omitempty"`
@@ -252,16 +251,12 @@ const (
252
251
)
253
252
254
253
// JWTFileKeySource specifies local JWKS key configuration.
255
-
// +kubebuilder:validation:XValidation:message="exactly one of configMapRef or secretRef must be set",rule="(self.configMapRef == null) != (self.secretRef == null)"
256
254
typeJWTFileKeySourcestruct {
257
-
// SecretRef references a Secret containing the JWKS (with optional key).
258
-
// Exactly one of ConfigMapRef or SecretRef must be set.
0 commit comments