-
Couldn't load subscription status.
- Fork 24
feat(api,sdk,ui): Add user-configurable secrets for deployments and ensembling jobs #403
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
deadlycoconuts
merged 29 commits into
caraml-dev:main
from
deadlycoconuts:add_secret_management_for_deployments
Feb 21, 2025
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
a3e966f
Update openapi specs
deadlycoconuts 84881e5
Update autogenerated golang client files
deadlycoconuts ffd4337
Update autogenerated python client files
deadlycoconuts adedc79
Add user-configured secrets to batch jobs
deadlycoconuts 6830375
Add missing python client file
deadlycoconuts 5b18c20
Fix lint comments
deadlycoconuts a9bf075
Add user-configured secrets to enricher and ensembler deployments
deadlycoconuts 8d18641
Black turing sdk files
deadlycoconuts 0d0780f
Add db migration scripts
deadlycoconuts 0376643
Fix lint comments
deadlycoconuts 87cb961
Add sdk changes to allow user-secrets to be mounted
deadlycoconuts cccd99e
Update e2e tests
deadlycoconuts 1c190fd
Fix enricher secrets parsing
deadlycoconuts f51dd47
Fix broken validator test
deadlycoconuts 2afcfc4
Fix broken validator tests and add required tag to secrets field in p…
deadlycoconuts 73aaed5
Fix e2e tests
deadlycoconuts f3a973f
Fix secret map key bug
deadlycoconuts 76194ba
Update jsonb column to have empty list as default value
deadlycoconuts d50bd56
Update db migration scripts
deadlycoconuts 6bff918
Add missing step in api server to add enricher and ensembler secrets
deadlycoconuts f7a8c65
Update api specs and autogenerated client files
deadlycoconuts 4b9da38
Replace isnumeric check with check that passes floats
deadlycoconuts c8406f5
Update react-lazylog with published version
deadlycoconuts 99af479
Add panels to display secrets
deadlycoconuts fe8fe8d
Add steps to configure secrets in forms
deadlycoconuts 5e1ed57
Add new unit test for autoscaling policy
deadlycoconuts f488f51
Add fix to unit tests to prevent race conditions
deadlycoconuts e728486
Update openapi specs and autogenerated files
deadlycoconuts c13bb6c
Remove redundant variable assignment
deadlycoconuts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| -- Remove secrets column for enrichers | ||
| ALTER TABLE enrichers DROP COLUMN secrets; | ||
|
|
||
| -- Remove secrets field in docker_config and pyfunc_config columns for ensemblers | ||
| UPDATE ensembler_configs set docker_config = docker_config - 'secrets' WHERE docker_config IS NOT NULL; | ||
|
|
||
| UPDATE ensembler_configs set pyfunc_config = pyfunc_config - 'secrets' WHERE pyfunc_config IS NOT NULL; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| -- Create secrets column for enrichers | ||
| ALTER TABLE enrichers ADD COLUMN secrets jsonb NOT NULL DEFAULT '[]'::jsonb; | ||
|
|
||
| -- Create secrets field in docker_config and pyfunc_config columns for ensemblers | ||
| UPDATE ensembler_configs SET docker_config = jsonb_set(docker_config, '{secrets}', '[]'::jsonb) WHERE docker_config IS NOT NULL AND docker_config->'secrets' IS NULL; | ||
|
|
||
| UPDATE ensembler_configs SET pyfunc_config = jsonb_set(pyfunc_config, '{secrets}', '[]'::jsonb) WHERE pyfunc_config IS NOT NULL AND pyfunc_config->'secrets' IS NULL; |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.