-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add utilities to generate EnvVars for secret (#1699)
* Add utility to read file and directory from a pod * Add copyright to new files * Address review comments - fix error message and add comments * Add Environment to PodOptions * Add SecretMounts to PodOptions * Add tests for new fields added to PodOptions * Add function comment * Revert file reader and SecretMounts implementation * Remove stale test * Add kopia repository storage args generation utilities * Address review comments, add copyright to new files * Address review comments - Update tests to use flags * Use map[string][]byte instead of map[string]string * Add utilities to generate EnvVars for secret * Add test for ResolveS3Endpoint * Set session token to env var as value * Remove unused field * Update test
- Loading branch information
1 parent
f65bc3c
commit ecb708d
Showing
2 changed files
with
215 additions
and
0 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