inputs decryption using SOPS
- Add support for --input-json and --input-yaml (plaintext) - Input files can optionally be encrypted using sops, with transparent decryption by dagger Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
@@ -68,6 +68,8 @@ func init() {
|
||||
computeCmd.Flags().Var(input.DirFlag(), "input-dir", "TARGET=PATH")
|
||||
computeCmd.Flags().Var(input.GitFlag(), "input-git", "TARGET=REMOTE#REF")
|
||||
computeCmd.Flags().Var(input.CueFlag(), "input-cue", "CUE")
|
||||
computeCmd.Flags().Var(input.JSONFlag(), "input-json", "JSON")
|
||||
computeCmd.Flags().Var(input.YAMLFlag(), "input-yaml", "YAML")
|
||||
|
||||
// Setup (future) --from-* flags
|
||||
updater, err = dagger.NewInputValue("[...{do:string, ...}]")
|
||||
|
Reference in New Issue
Block a user