Skip to content

Commit 37cf17e

Browse files
committed
fixup: KeySelectors description
Signed-off-by: KevFan <chfan@redhat.com>
1 parent a5a73a3 commit 37cf17e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

api/v1beta3/auth_config_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ type ApiKeyAuthenticationSpec struct {
357357
AllNamespaces bool `json:"allNamespaces,omitempty"`
358358

359359
// List of keys within the selected Kubernetes secret that contain valid API credentials.
360-
// Authorino will attempt to authenticate using the first key that matches.
361-
// If no match is found, authentication will fail.
360+
// Authorino will attempt to authenticate using any matching key.
361+
// If no match is found, the Kubernetes secret is not considered a valid Authorino API Key secret and is ignored.
362362
// +optional
363363
KeySelectors []string `json:"keySelectors,omitempty"`
364364
}

install/crd/authorino.kuadrant.io_authconfigs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,8 +2396,8 @@ spec:
23962396
keySelectors:
23972397
description: |-
23982398
List of keys within the selected Kubernetes secret that contain valid API credentials.
2399-
Authorino will attempt to authenticate using the first key that matches.
2400-
If no match is found, authentication will fail.
2399+
Authorino will attempt to authenticate using any matching key.
2400+
If no match is found, the Kubernetes secret is not considered a valid Authorino API Key secret and is ignored.
24012401
items:
24022402
type: string
24032403
type: array

install/manifests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2663,8 +2663,8 @@ spec:
26632663
keySelectors:
26642664
description: |-
26652665
List of keys within the selected Kubernetes secret that contain valid API credentials.
2666-
Authorino will attempt to authenticate using the first key that matches.
2667-
If no match is found, authentication will fail.
2666+
Authorino will attempt to authenticate using any matching key.
2667+
If no match is found, the Kubernetes secret is not considered a valid Authorino API Key secret and is ignored.
26682668
items:
26692669
type: string
26702670
type: array

0 commit comments

Comments
 (0)