-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(TKC-2140): add basic secret mgmt / support auto-creating secrets…
… for plain-text data (#5606) * feat(secrets): adjust /secrets endpoint to properly handle listing Testkube-created secrets * feat(secrets): expose labels in the /secrets endpoint * feat(secrets): add endpoint for creating secrets * feat(secrets): add endpoint to delete secret * feat(secrets): add rest of endpoints to manage secrets * feat(secrets): return created secret * feat(secrets): expose secret type (default to Opaque) * feat(secrets): add create/update time for secrets * feat(secrets): disable secret endpoints when they are disabled on installation * feat(secrets): allow configuring the prefix for creating the secrets * feat(secrets): add endpoint to expose information about secrets configuration in the Agent * feat(secrets): store granular configuration for secrets * feat(secrets): use common secret configuration throughout all application * feat(testworkflows): add logic for identifying and replacing plain-text credentials in TestWorkflows * feat(secrets): use ownerReferences instead of virtual label for secrets ownership * feat(secrets): create secret manager common library * feat(testworkflows): allow auto-creating secrets for TestWorkflows and TestWorkflowTemplates when autoCreateSecrets: true set * feat(testworkflows): move auto-creating secrets parameter to query string instead of body * feat(TKC-2140): change mechanism for extracting secrets from TestWorkflows to use <computed> EnvVarSource for detection * feat(TKC-2140): delete autoCreateSecrets query parameter, and make it a default behavior * feat(TKC-2140): add more recognizable secret key name for environment variables * feat(TKC-2140): expose namespace in the Secret model * feat(TKC-2140): replace `creds-` prefix with shorter `tw-`
- Loading branch information
Showing
30 changed files
with
2,034 additions
and
54 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
Oops, something went wrong.