Skip to content
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

Update broker statefulset to check if AWS keys secret name is defined… #466

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

nathanclayton
Copy link
Contributor

Fixes #465

Motivation

When using AWS-S3 offload driver, you may be using IAM roles tied to the service account. If that's the case, the AWS access and secret keys aren't needed.

Modifications

Updated the broker stateful set to also check that the AWS key secret is defined. If it isn't, ignore adding those envFrom statements to the environment.

Verifying this change

  • Make sure that the change passes the CI checks.

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for the contribution @nathanclayton

@lhotari lhotari merged commit b4241f9 into apache:master Mar 3, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Requires AWS access/secret key when offload driver is set to aws-s3
2 participants