Skip to content

Commit

Permalink
fix: TriggerAuthentication.podIdentity validation allows 'none' (#5593)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Mar 12, 2024
1 parent a4c0d86 commit ef1074a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apis/keda/v1alpha1/triggerauthentication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const (
// AuthPodIdentity allows users to select the platform native identity
// mechanism
type AuthPodIdentity struct {
// +kubebuilder:validation:Enum=azure;azure-workload;gcp;aws;aws-eks;aws-kiam
// +kubebuilder:validation:Enum=azure;azure-workload;gcp;aws;aws-eks;aws-kiam;none
Provider PodIdentityProvider `json:"provider"`

// +optional
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/keda.sh_clustertriggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down Expand Up @@ -276,6 +277,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down Expand Up @@ -399,6 +401,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down Expand Up @@ -525,6 +528,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/keda.sh_triggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down Expand Up @@ -275,6 +276,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down Expand Up @@ -398,6 +400,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down Expand Up @@ -524,6 +527,7 @@ spec:
- aws
- aws-eks
- aws-kiam
- none
type: string
roleArn:
description: RoleArn sets the AWS RoleArn to be used. Mutually
Expand Down

0 comments on commit ef1074a

Please sign in to comment.