Skip to content

Validate region and its value in Kinesis Output plugin #1644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apis/fluentbit/v1alpha2/plugins/output/kinesis_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import (
// https://github.com/aws/amazon-kinesis-streams-for-fluent-bit <br />
type Kinesis struct {
// The AWS region.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
Region string `json:"region"`
// The name of the Kinesis Streams Delivery stream that you want log records sent to.
Stream string `json:"stream"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2109,6 +2109,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2109,6 +2109,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/fluentbit.fluent.io_clusteroutputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2109,6 +2109,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/fluentbit.fluent.io_outputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2109,6 +2109,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down
2 changes: 2 additions & 0 deletions manifests/setup/fluent-operator-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6245,6 +6245,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down Expand Up @@ -35143,6 +35144,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down
2 changes: 2 additions & 0 deletions manifests/setup/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6245,6 +6245,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down Expand Up @@ -35143,6 +35144,7 @@ spec:
type: string
region:
description: The AWS region.
minLength: 1
type: string
roleARN:
description: ARN of an IAM role to assume (for cross account access).
Expand Down
Loading