-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): Add user-configurable secrets for deployments and ensembli…
…ng jobs (#403) * Update openapi specs * Update autogenerated golang client files * Update autogenerated python client files * Add user-configured secrets to batch jobs * Add missing python client file * Fix lint comments * Add user-configured secrets to enricher and ensembler deployments * Black turing sdk files * Add db migration scripts * Fix lint comments * Add sdk changes to allow user-secrets to be mounted * Update e2e tests * Fix enricher secrets parsing * Fix broken validator test * Fix broken validator tests and add required tag to secrets field in pyfunc ensembler config * Fix e2e tests * Fix secret map key bug * Update jsonb column to have empty list as default value * Update db migration scripts * Add missing step in api server to add enricher and ensembler secrets * Update api specs and autogenerated client files * Replace isnumeric check with check that passes floats * Update react-lazylog with published version * Add panels to display secrets * Add steps to configure secrets in forms * Add new unit test for autoscaling policy * Add fix to unit tests to prevent race conditions * Update openapi specs and autogenerated files * Remove redundant variable assignment
- Loading branch information
1 parent
1175212
commit 9b0ccd2
Showing
76 changed files
with
2,053 additions
and
421 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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.