Skip to content

Commit

Permalink
fixup: KeySelectors description
Browse files Browse the repository at this point in the history
Signed-off-by: KevFan <[email protected]>
  • Loading branch information
KevFan committed Feb 5, 2025
1 parent a5a73a3 commit ec6d50f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions api/v1beta3/auth_config_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ type ApiKeyAuthenticationSpec struct {
AllNamespaces bool `json:"allNamespaces,omitempty"`

// List of keys within the selected Kubernetes secret that contain valid API credentials.
// Authorino will attempt to authenticate using the first key that matches.
// If no match is found, authentication will fail.
// Authorino will attempt to authenticate using any matching key, including "api-key".
// If no match is found, the Kubernetes secret is not considered a valid Authorino API Key secret and is ignored.
// +optional
KeySelectors []string `json:"keySelectors,omitempty"`
}
Expand Down
4 changes: 2 additions & 2 deletions install/crd/authorino.kuadrant.io_authconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2396,8 +2396,8 @@ spec:
keySelectors:
description: |-
List of keys within the selected Kubernetes secret that contain valid API credentials.
Authorino will attempt to authenticate using the first key that matches.
If no match is found, authentication will fail.
Authorino will attempt to authenticate using any matching key, including "api-key".
If no match is found, the Kubernetes secret is not considered a valid Authorino API Key secret and is ignored.
items:
type: string
type: array
Expand Down
4 changes: 2 additions & 2 deletions install/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2663,8 +2663,8 @@ spec:
keySelectors:
description: |-
List of keys within the selected Kubernetes secret that contain valid API credentials.
Authorino will attempt to authenticate using the first key that matches.
If no match is found, authentication will fail.
Authorino will attempt to authenticate using any matching key, including "api-key".
If no match is found, the Kubernetes secret is not considered a valid Authorino API Key secret and is ignored.
items:
type: string
type: array
Expand Down

0 comments on commit ec6d50f

Please sign in to comment.