Skip to content

Commit

Permalink
minor wording
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <[email protected]>
  • Loading branch information
zhaohuabing committed Jan 8, 2025
1 parent a9bfe43 commit 9c6e27a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/v1alpha1/jwt_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@ type JWTProvider struct {
// RemoteJWKS defines how to fetch and cache JSON Web Key Sets (JWKS) from a remote HTTP/HTTPS endpoint.
// +kubebuilder:validation:XValidation:rule="!has(self.backendRef)",message="BackendRefs must be used, backendRef is not supported."
type RemoteJWKS struct {
// BackendRefs is used to specify the address of the Remote JWKS.
// BackendRefs is used to specify the address of the Remote JWKS. The BackendRefs are optional, if not specified,
// the backend service is extracted from the host and port of the URI field.
//
// TLS configuration can be specified in a BackendTLSConfig resource and target the BackendRefs.
//
// Other settings for the connection to the OIDC Provider can be specified in the BackendSettings resource.
// Other settings for the connection to remote JWKS can be specified in the BackendSettings resource.
// Currently, only the retry policy is supported.
//
// +optional
BackendCluster `json:",inline"`
Expand Down
1 change: 1 addition & 0 deletions api/v1alpha1/oidc_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ type OIDCProvider struct {
// TLS configuration can be specified in a BackendTLSConfig resource and target the BackendRefs.
//
// Other settings for the connection to the OIDC Provider can be specified in the BackendSettings resource.
// Currently, only the retry policy is supported.
//
// +optional
BackendCluster `json:",inline"`
Expand Down

0 comments on commit 9c6e27a

Please sign in to comment.