#7699 Allow storage S3 secretKey to be securely configured
Pull request opened by
Sovietaced
Tracking issue
Closes
#7698
Why are the changes needed?
There is no secure way of passing in S3 secret keys into the helm chart.
What changes were proposed in this pull request?
This pull request does a couple things.
1. Removes deprecated storage.connection configuration. The current deployment guides do not use this deprecated configuration so it would be good to remove this before GA.
2. Adds support for storage.stow.secretKeyPath, which can be a volume mount backed by a pre-existing Kubernetes secret. This follows the same pattern that is allowed for configuring the Postgres password. In order to support this, the secret key is retrieved from the secret key path during stow initialization, if the secret key path is configured.
How was this patch tested?
Currently untested beyond unit tests.
Labels
Please add one or more of the following labels to categorize your PR:
•
added: For new features.
•
changed: For changes in existing functionality.
•
deprecated: For soon-to-be-removed features.
•
removed: For features being removed.
•
fixed: For any bug fixed.
•
security: In case of vulnerabilities
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Stack
If you do use
git town
to manage PR Stacks, the stack relevant to this PR
will show below. Otherwise, you can ignore this section.
Docs link
flyteorg/flyte