Consume secret data from a file.#7156
Merged
liranmauda merged 1 commit intonoobaa:masterfrom Jan 23, 2023
Merged
Conversation
6f6b7bd to
6ab3452
Compare
shirady
reviewed
Jan 9, 2023
Contributor
Author
|
Converted to draft due to:
|
Contributor
Author
Regarding 1:@dannyzaken should we take the latest yamls from the operator, or should we modify the ones in core? Regarding 2:It seems that for Postgress we need the env variable so we will keep the secretKeyRef |
Member
|
@liranmauda the sanity workflow still uses the old(!!!) test_env_builder scripts. I don't see a reason to keep maintaining it. The noobaa setup it provides is far from what we provide with the operator. |
6ab3452 to
9888c4d
Compare
c894d9f to
f413826
Compare
dannyzaken
approved these changes
Jan 22, 2023
- Add a util to get data from a file. will use that to fetch kubernetes secret mounted to a file. - Replaced env.NOOBAA_AUTH_TOKEN with config.NOOBAA_AUTH_TOKEN - Replaced env.JWT_SECRET wite config.JWT_SECRET - Replaced env.SECRET_SERVER with config.SECRET_SERVER - Keeping the default behavior of useing env variables for overriding if needed or testing. Signed-off-by: liranmauda <liran.mauda@gmail.com>
f413826 to
5d19b55
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explain the changes
Signed-off-by: liranmauda liran.mauda@gmail.com
Issues: Fixed #xxx / Gap #xxx
Depend on: